__import__ function broken in 2.6

Paul Paul22000 at gmail.com
Sat Apr 25 19:38:56 EDT 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