Can I decompile PYC files?

David Bolen db3l at fitlinxx.com
Tue Jan 23 22:37:06 EST 2001


jon at bezek.dstc.monash.edu.au (Jonathan Giddy) writes:

> You can try using decompyle, which can be found using any search engine.  

One minor item - if you're running under Windows, it looks like a
small tweak to decompyle.py (line 108 in _load_module) is necessary to
change the open to use binary mode ('rb').  Otherwise, seems to work
nicely.

--
-- David
-- 
/-----------------------------------------------------------------------\
 \               David Bolen            \   E-mail: db3l at fitlinxx.com  /
  |             FitLinxx, Inc.            \  Phone: (203) 708-5192    |
 /  860 Canal Street, Stamford, CT  06902   \  Fax: (203) 316-5150     \
\-----------------------------------------------------------------------/



More information about the Python-list mailing list