Re: Getting Python scripts to execute in RedHat

2006-06-23 Thread Pythor
Dennis Lee Bieber wrote: > Now, if you mean you store all your python programs in > "~/pyscripts/" but you want them to run from any directory, you need to > add "~/pyscripts/" to your login PATH definition. If you want to always > make the local directory valid, add the "./". Thank You. Betwee

Re: Getting Python scripts to execute in RedHat

2006-06-23 Thread Daniel Nogradi
> I apologise if this is a stupid newbie error, but I've been googling > "hash bang" and "shebang" all morning. I've added the shebang to my > scripts: > > #!/usr/bin/python > > I've added execute permissions: > > chmod +rx shebang.py > > But I still can't execute my scripts by themselves > > sheb

Getting Python scripts to execute in RedHat

2006-06-23 Thread Pythor
I apologise if this is a stupid newbie error, but I've been googling "hash bang" and "shebang" all morning. I've added the shebang to my scripts: #!/usr/bin/python I've added execute permissions: chmod +rx shebang.py But I still can't execute my scripts by themselves shebang.py ## produces e