Simple import question about mac osx

Jerry Hill malaclypse2 at gmail.com
Tue Apr 29 14:37:49 EDT 2008


On Tue, Apr 29, 2008 at 2:14 PM, jmDesktop <needin4mation at gmail.com> wrote:
>  Thanks.  That worked on mac.  But it does work like I said in
>  Windows.  Don't know why.  Mr. Chun must also be using Windows because
>  that is the way he does it in his book.

It shouldn't work that way on windows either.  Can you tell us a
little more about what you mean when you say you "compile this" under
windows?  Normally, python code doesn't need to be compiled, so I'm
wondering if you're doing something different from what we expect when
you say you compile it and then import it in the interpreter.

Are you by any chance writing code in IDLE, running it, then doing
things in the interpreter?

 --
Jerry



More information about the Python-list mailing list