byte code generated under linux ==> bad magic number under windows

Jarek Zgoda jzgoda at gazeta.usun.pl
Mon Dec 6 15:11:08 EST 2004


Aaron Bingham wrote:

> .pyc files are platform-independant but are incompatible between major 
> Python versions.  You can not use a .pyc file generated with Python 2.3 
> with Python 2.4 or vice versa.

AFAIK, they *are* platform dependent. You can not share pyc files 
between ASCII and EBCDIC machine.

-- 
Jarek Zgoda
http://jpa.berlios.de/ | http://www.zgodowie.org/



More information about the Python-list mailing list