1
from py_compile import compile
2
from commands import getoutput
3
from os import remove,getcwd,rename
4
5
for filename in getoutput("find . -name '*.py'").splitlines():
6
print "Compilation de :", filename
7
compile(filename)