Re: [Tutor] Pack/Unpack hacking

2009-09-07 Thread Tino Dai
In general, xxx.pyc is the compiled Python bytecode for xxx.py, so > struct.py is the source for struct.pyc. > > Looking at struct.py, it's entire contents is > from _struct import * > from _struct import _clearcache > > This is a pretty common idiom in the std lib for modules that are > implemente

Re: [Tutor] Pack/Unpack hacking

2009-09-06 Thread Kent Johnson
On Sun, Sep 6, 2009 at 2:20 PM, Tino Dai wrote: > Hi All, > >     Hope the people in the US are having a nice Labor Day! I am looking for > the source code > for the pack/unpack functions found in the struct package. As of this email, > I have tried a > strings on the struct.pyc file. The inspecti

Re: [Tutor] Pack/Unpack hacking

2009-09-06 Thread Tim Golden
Hope the people in the US are having a nice Labor Day! I am looking for the source code for the pack/unpack functions found in the struct package. As of this email, I have tried a strings on the struct.pyc file. The inspection of the pyc file was hoping that I could find a stub to the source.

Re: [Tutor] Pack/Unpack hacking

2009-09-06 Thread Lucas Prado Melo
On Sun, Sep 6, 2009 at 3:20 PM, Tino Dai wrote: > Hi All, > > Hope the people in the US are having a nice Labor Day! I am looking for > the source code > for the pack/unpack functions found in the struct package. As of this > email, I have tried a > strings on the struct.pyc file. The inspect

[Tutor] Pack/Unpack hacking

2009-09-06 Thread Tino Dai
Hi All, Hope the people in the US are having a nice Labor Day! I am looking for the source code for the pack/unpack functions found in the struct package. As of this email, I have tried a strings on the struct.pyc file. The inspection of the pyc file was hoping that I could find a stub to the