pyo contains absolute paths

ncf nothingcanfulfill at gmail.com
Sat Jul 9 14:48:51 EDT 2005


Python is compiling the files with absolute paths because it is much
faster to load a file when you know where it is, than to have to find
it and then load it.

I'm guessing you're wondering this so you can distribute it compiled or
such? If so, I wouldn't do that in the first place. Python's compiled
files might be version/architecture dependant.

-NcF




More information about the Python-list mailing list