Module question

Tuvas tuvas21 at gmail.com
Tue Feb 21 17:40:49 EST 2006


Could I just do this then?

from foo import x?

One more question now that I've tried this. In my main function, I have
alot of init code. I don't want this code to be re-ran when the second
module imports the first. Is there any way around this? Thanks!




More information about the Python-list mailing list