Python modules are compiled
- pyc
- pycache
When libraries are loaded they are automatically compiled to .pyc
files.
This provides moderate code-hiding and load-time speed-up. Not run-time speed-up.
Starting from Python 3.2 the pyc files are saved in the __pycache__
directory.