[Tutor] Pack/Unpack hacking

Tim Golden tjgolden at gmail.com
Sun Sep 6 20:41:57 CEST 2009


>>     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. I also looked directly at struct.py, with no success.
>> Finally, I also tried
>> downloading the source and grepping through the files, which didn't prove
>> all that useful.
>> Does anybody have any ideas on how I can find the source without having to
>> go through
>> the entire source tree file by file?


http://svn.python.org/view/python/trunk/Modules/_struct.c?view=markup

TJG


More information about the Tutor mailing list