View Single Post
Old 11-09-2008, 12:39 AM   #14
pilotbob
Grand Sorcerer
pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.
 
pilotbob's Avatar
 
Posts: 19,832
Karma: 11844413
Join Date: Jan 2007
Location: Tampa, FL USA
Device: Kindle Touch
Quote:
Originally Posted by badgoodDeb View Post
Thanks -- good info. I hadn't even thought about putting the shebang info into the scripts. (Though I'm familiar with the term). I just type /usr/bin/pythonw scriptname.... So, good info here!
You should just be able to type:

python scriptname.py param1 param2 etc

since python should be in your path. But I have found using the shebang and the linked shortcuts in my path to be more convenient.

BOb
pilotbob is offline   Reply With Quote