[Tutor] "Decompile" pyc file

Kent Johnson kent37 at tds.net
Fri Oct 14 16:01:37 CEST 2005


Bernard Lebel wrote:
> Hello,
> 
> Is there a way to "decompile" a pyc file? I have a big problem where
> the py file was lost, but the pyc file is instact. I would need to
> extract the source code from the pyc file.

Google 'python decompiler'

try http://www.freshports.org/devel/decompyle/
or the commercial service at http://www.crazy-compilers.com/decompyle/

Kent



More information about the Tutor mailing list