Python Advanced Tutorial - How to write faster python code?

preview_player
Показать описание
In this video we compared same python code.
We analyzed witch python code was faster:
- Python package, module usage(import, from)
- While, for loop
- Python function (def) and "simply" code
- Python list append: "simply" and compact format
- In python class: global and local variable

Python version 2.7
Рекомендации по теме