Re: [Tutor] Can't find modules at command line

2009-11-03 Thread Alan Gauld
"Christian Witts" wrote >>> import gun Traceback (most recent call last): File "", line 1, in ImportError: No module named gun >>> This file is at [/Users/sam/Documents/gun.py]. What should I do to make it visible to Python? In the console when you start it up you appear to be in your

Re: [Tutor] Can't find modules at command line

2009-11-02 Thread Christian Witts
Sam Stout wrote: I'm using Python on Mac OS X. I usually run IDLE and get this result: IDLE 1.2 >>> import gun Bang! >>> However, when I try this from Terminal: Jacks-Mac:~ Sam$ python ActivePython 2.5.0.0 (ActiveState Software Inc.) based on Python 2.5 (r25:51908, Mar 9 2007, 17:40

[Tutor] Can't find modules at command line

2009-11-02 Thread Sam Stout
I'm using Python on Mac OS X. I usually run IDLE and get this result: IDLE 1.2 >>> import gun Bang! >>> However, when I try this from Terminal: Jacks-Mac:~ Sam$ python ActivePython 2.5.0.0 (ActiveState Software Inc.) based on Python 2.5 (r25:51908, Mar 9 2007, 17:40:37) [GCC 4.0.1 (App