[Level 2] How to compile .py to .pyc

How to compile .py to .pyc?
Just use the module compileall
Ex.
# python -m compileall .
or
# python -m compileall ./t.py

Wish this helps.
regards,
Stanley Huang

Comments

Post a Comment

Popular posts from this blog

[Level 1] Rar tool for Solaris.

[Level 2] iif in Python