So there's no way to import files and have the imported file automatically evaluate its contents? In other words, if I want to import files I must ONLY have functions/classes in the file(s) to be imported? Can variables also be in it as well?
Edit: Also, how would you go about importing files from other directories? Suppose you have the following files:
Lets say you run test.py - how would you import the libs.py and main.py?
Last edited by Apothem; 01-31-2011 at 05:32 AM..