Re: [Tutor] Re: [Pythonmac-SIG] Weird import problem with PythonIDE on Mac (was 'import problem')

2005-04-22 Thread Max Noel
On Apr 22, 2005, at 11:41, Chris Smith wrote: Do you have a suggestion as to what can I give a module so it has enough information to execute a function that resides in __main__? Here is a visual of what is going on: --__main__ def y1(): pass import foo foo.run(string_from_main) #what shou

[Tutor] Re: [Pythonmac-SIG] Weird import problem with PythonIDE on Mac (was 'import problem')

2005-04-22 Thread Chris Smith
On Friday, Apr 22, 2005, at 03:52 America/Chicago, Just van Rossum - [EMAIL PROTECTED] wrote: Importing __main__ is a very silly thing to do anyway, if you ask me. All comments from you, Bob, and Jack have been *very* helpful. I think I understand better what is going on. What's got me scratch