Generating .pyc/.pyo from a make file
Roland Heiber
newstonne at web.de
Wed Feb 2 18:21:43 EST 2005
Tim Daneliuk wrote:
> It does - thanks. One more question: Are pyc and pyo file portable
> across operating systems? I suspect not since I generated a pyo
> on a FreeBSD machine that will not run on a Win32 machine. I was
> under the impression that "compiled" meant optimized byte code that
> was portable across implementations, but it looks to not be the case...
>
Hi,
.pyc's should be, cause it's standard python-bytecode, if you use
massive optimizations it depends not on the os but on the underlying
cpu/architecture ...
So long, Roland
More information about the Python-list
mailing list