[Pythonmac-SIG] OS9/2.1 IDE problem

Just van Rossum just at letterror.com
Sun Mar 20 23:04:26 CET 2005


Michael Dunn wrote:

>     Yeah, I'm using old stuff, I know.
> 
>     Having a weird problem.  I've defined a few functions for a 
> program and put them in a separate file.  In my main program I write 
> "from filename import *".
> 
>     When I run as an applet, everything seems to work.  When I run 
> from the IDE, it appears that ONLY THE FIRST function is imported.
> 
>     And guess what?  I just solved the problem.  I ran the function 
> defs from the IDE, then my main program.  It worked.  Still seems a 
> bit odd...

Sounds like you have a circular import? Module A importing module B
importing module A?

Just


More information about the Pythonmac-SIG mailing list