Load Arbitrary Script as Module?

rgb122 at my-deja.com rgb122 at my-deja.com
Tue May 9 17:46:17 CEST 2000


Is there a way to load a module given a full filepath? Something like:

driver = LoadModule("C:\\Stuff\\sample.py")
driver.someFunction()

Thanks,
Rob


Sent via Deja.com http://www.deja.com/
Before you buy.



More information about the Python-list mailing list