/python3-training

My Python3 training

Primary LanguagePythonApache License 2.0Apache-2.0

Python 3 Training

Synopsis

Personal project for practicing Python 3.

I use this project to practice Python, learn new features and stay up to date. There is no guideline in the code, I just add modules while discovering features.

Main training script

Many script are packed into exercices.py and can by launched by `training.py``

Building

No build needed. Just run the main program. There is an online help available. You can for example run only one exercice.

python3 training.py --help

Testing

There are some tests, only in exercises.py:

python3 exercices.py [-v]

Brilliant.org

Exercices from Brilliant Python training are in the brilliant folder.

Benchmarking

cw-duplicate-encoder.py has code to be benchmarked and uses timeit, run the benchmarks with:

python3 codewars/duplicate_encoder.py

Authors

  • Python book authors for the sample code
  • Farzad FARID

License

All code is under Apache License 2.0.

References