compiling python code

Gabriele *Darkbard* Farina darkbard at extending-php.net
Thu May 26 04:33:44 EDT 2005


Hi,

I have a python file inside a zip file. I'd like to compile it and add 
the resulting .pyc file into the zip. I tryed reading the source and 
compiling it using compile(), but I don't know how to write .pyc file. 
Can someone give me some help?

bye,
gabriele



More information about the Python-list mailing list