Are .pyc files portable?

Steven D'Aprano steve at REMOVE-THIS-cybersource.com.au
Fri Nov 7 23:27:15 EST 2008


On Fri, 07 Nov 2008 19:01:31 -0800, Wubbulous wrote:

> Python compiles to bytecode, which means that pyc files can be
> interpreted by any Python executable regardless of platform.

No, bytecode isn't compatible from one version number to another.



-- 
Steven



More information about the Python-list mailing list