obf.py
author lbessard
Tue, 10 Jul 2007 14:24:19 +0200
changeset 30 768cf2a6b0b1
parent 5 f8652b073e84
child 58 39cd981ff242
permissions -rw-r--r--
Bug on ressource generation fixed
Adding support for variable location
from py_compile import compile
from commands import getoutput
from os import remove,getcwd,rename

for filename in getoutput("find . -name '*.py'").splitlines():
        print "Compilation de :", filename
        compile(filename)