Re: [Tutor] Importing files not located on the home directory or standardard library

2010-06-18 Thread Steven D'Aprano
On Thu, 17 Jun 2010 05:10:32 pm Independent Learner wrote: Lets say I want to load a file called quiz located in C:\Users\Julius Hernandez\Desktop\Python2.6.5\Online Course\Chp.4 How would I configure PYTHONPATH or .pth  or what ever to import this file from IDLE I don't use Windows, so I

[Tutor] Importing files not located on the home directory or standardard library

2010-06-17 Thread Independent Learner
I am having trouble figuring out how to import modules not located on the home directory or standard library of modules. Meaning say I write a module and instead of saving it on the home directory I save in a folder in my desktop. I do not know how to retrieve it by way of the import statement.