[Pythonmac-SIG] newbie osx question

bsmith bmwblake@mac.com
Wed, 18 Dec 2002 13:42:50 -0600


my first post so bear with me.

i just started researching and reading about python a few weeks ago. it 
works great with IDLE on a linux box i have, but on my ibook i've 
having issues and was hoping to find some help here.

my background is not that of a programmer, python is my first stab at 
getting into programming. my background is in audio/video development 
for the web and in professional sound recording. please keep this in 
mind when answering.

i've been running basic python scripts (hello world and some other 
starters) in the terminal with no problem. when i save the code out as 
a .py file and try and 'run in terminal' from bbedit, i get
'[bsmith:~] bsmith% /usr/local/bin/python 
'/Users/bsmith/pyscripts/dice.py'
/usr/local/bin/python: Command not found.
[bsmith:~] bsmith% '

when i do 'which python' i get 'usr/bin/python'. i have the developer 
tools installed so i would think it would install correctly. perhaps i 
have to change something in bbedit to make it look in the correct 
location??

i guess i'm just looking for tips on what apps are best for actually 
executing scripts on mac osx. any tips would be great.

thanks in advance for putting up with the questions of a new guy.

blake