Software Compatable with other versions?

Tim Chase python.list at tim.thechases.com
Tue Nov 21 17:26:26 CET 2006


>>> I have been told that the .pyc are not compatable. Is it 
>>> possible, to convert a 2.4.x .pyc to a 2.5 .pyc?
> 
> The magic code.
> 
> Just rm -rf *.pyc from your own scripts directories, they will
> be rebuilt.

Just take care in the event that you have files that were 
distributed in bytecode format (.pyc) rather than source 
form...if you don't have any such .pyc files, then Laurent's 
solution is fast and easy.  If you do, you may have to protect 
them before trying such a stunt.

-tkc






More information about the Python-list mailing list