[Pythonmac-SIG] newbie osx question

Daniel Lord dmlsj@yahoo.com
Wed, 18 Dec 2002 12:17:47 -0800


Blake,

I use BBEdit and that feature works fine for me though you cannot do 
unix filters from the BBEdit menu in Python, only in Perl and the 
Shell. Thanks for reminding me I need to write them a note requesting 
that ;-)/

1) Do you have the path to your Python executable at the top of your 
file as in:
#!/usr/bin/python? It might be you have #!/usr/local/bin/python up 
there but you said the path to you executable does not include local. 
Check this.

Daniel
--
daniellordATtelocityDOTcom
GPG Fingerprint: C59E 59F5 1C63 5CFB 6161 067E FF00 A4E8 684A 16BB

"The purpose of separation of church and state is to keep forever from
these shores the ceaseless strife that has soaked the soil of Europe in
blood for centuries."  [James Madison, 1803]

On Wednesday, Dec 18, 2002, at 11:42 US/Pacific, bsmith wrote:

> 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
>
>
> _______________________________________________
> Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig
>
>