.py from .pyc - how? Have deleted my .py file!

Chris King squirrel at wpi.edu
Sat Jul 10 18:09:28 CEST 2004

Matthias Huening wrote:
> "F. GEIGER" <f.geiger at vol.at> wrote in news:ccp1gi$mpf$1 at newshispeed.ch:
>>However, the .pyc file is still there. Can I restore the .py file from 
>>the .pyc file somehow?
> http://www.crazy-compilers.com/decompyle/
> There is one drawback:
> "# Costs only 10 EUR per 10 KB (or part thereof, counted per file)"

There seems to be a free version still floating around, but it doesn't 
work for bytecode generated by Python 2.3 or newer:


More information about the Python-list mailing list