Code Management

Sergio Correia sergio.correia at
Mon Nov 26 17:07:32 CET 2007


If you are using python 2.5, relative imports are no longer an issue:

That problem solved, what you sometimes want is to change the version
of your package. I just change the text in the PTH file, to point to
another version, and voilá (no need to move files around or to mess
with the code in the package itself). Probably you can write a script
that changes the PTH file from python itself.


Thanks, that looks useful.

More information about the Python-list mailing list