Entry
Can I take pyc file to different computer and will it run?
Aug 28th, 2002 23:18
Peter Funk, unknown unknown, Martin von Loewis
Sure. The Python byte code format is the same on all machine
architectures. However it has changed from Python version to Python
version. For example: if you create *.pyc files on a machine running
Python 1.5.2 these files will become useless on a machine with only
Python 2.x installed. If you have several version of python installed,
you have to make sure, that the correct version is invoked.