__import__ function broken in 2.6

Paul Paul22000 at gmail.com
Sun Apr 26 01:38:56 CEST 2009


We found a quick workaround to make import work with paths. We just
append the folder we want to the system's path:

		sys.path.append( moduleFolder )

If anyone has a better solution, that would be great. Until then, this
is ugly, but it works.



More information about the Python-list mailing list