Previous Thread  Next Thread

chat icon To call draw funct from ext module

Manuel

Posted: Thu May 15, 2003 11:27 pm
Joined: 15 Oct 2002
Posts: 75
I've two modules:
1) the main.py, with the draw and register functions.
2) evaluator.py, a module with various functions.

From main.py, I import and use evaluator module, it's OK.

But...if I want call the draw function in a loop internal to evaluator?

I must import the main.py in the evaluator.py like this:

Code:
import main
...
...
for foo in foo1:
   print foo; main.draw


or what??

Thanks,

Manuel
Reply with quote


 
Jump to:  
Powered by phpBB © 2001, 2005 phpBB Group