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