[Tutor] How to convert binary files back to text files?

Kent Johnson kent37 at tds.net
Sun Aug 30 14:58:24 CEST 2009


On Sun, Aug 30, 2009 at 6:32 AM, prasad rao<prasadaraon50 at gmail.com> wrote:

> I want to examine pyc files.(ex:itertools).
> itertools.py is not available inPython26.
> pyc files are binaryfiles.Isn't it.

itertools is written in C. All the Python source code is freely
available for you to read. Download the entire source here:
http://python.org/download/

or browse it online. The itertools source is here:
http://svn.python.org/view/python/branches/release26-maint/Modules/itertoolsmodule.c?view=markup

Kent


More information about the Tutor mailing list