Re: [Pythonmac-SIG] Creating Application()

2008-08-25 Thread Pascal Bompard
This tutorial series is brand new: http://lethain.com/entry/2008/aug/22/an-epic-introduction-to-pyobjc-and-cocoa/ Looks like a good one too, although I can't verify that as I haven't had the time to work through it yet. I have worked through a few tuts at http://cocoadevcentral.com/ and ca

Re: [Pythonmac-SIG] Yet another problem with path

2008-08-07 Thread Pascal Bompard
Thank you! This solved it for me. I knew it had to be something as ridiculously n00bish as keeping "python" in the script call. On 07/08/2008, at 9:58 PM, Mike Covill wrote: You should be able to execute your script by typing just your script name from anywhere, leave out "python": Admin

Re: [Pythonmac-SIG] Yet another problem with path

2008-08-07 Thread Pascal Bompard
Returning to this 3 week old chestnut, (apologies for delay - my second child was born in the interim), and thanks to all who attempted to help, but I am still struggling with this issue. Christopher Barker wrote: If you have scripts you want to run from anywhere, make them executable: T

Re: [Pythonmac-SIG] Yet another problem with path

2008-07-13 Thread Pascal Bompard
The fix I have working for this now is to use a symbolic link to the directory where I keep my scripts. Not quite as clean as just using the script name, but certainly better than typing out a long direct path. I see what you are saying. It didn't occur to me that Python would not use an

Re: [Pythonmac-SIG] Yet another problem with path

2008-07-13 Thread Pascal Bompard
I see what you are saying. It didn't occur to me that Python would not use any of those variables, not even $PYTHONPATH. Thank you for pointing that out. I suppose the next best strategy should be to look into using a terminal shortcut to at least make the "cd" to the directory a bit less

Re: [Pythonmac-SIG] Yet another problem with path

2008-07-13 Thread Pascal Bompard
Yes, I am aware that I could do that. I chose to only demonstrate the full path method rather than both ways to access the file in my example. The problem remains though, that every time I want to run a script in that directory, I'd have to type out the entire path, which is not ideal. Su

[Pythonmac-SIG] Yet another problem with path

2008-07-13 Thread Pascal Bompard
The problem I am experiencing is that I can run a Python script successfully if I use the full path to the script, but I can't run it otherwise. I have checked and set my $PATH as well as $PYTHONPATH to be correct. Also, the sys.path has a correct reference. I have also confirmed that per