[Tutor] Version of a .pyc file

Don Taylor nospamformeSVP at gmail.com
Wed Apr 19 00:10:47 CEST 2006


I want like to write a script to scan all of the .pyc on my pythonpath 
to find out if they were built with Python 2.3 or 2.4.

How can I tell if a .pyc file was built with 2.3 or 2.4?

Thanks,

Don.



More information about the Tutor mailing list