View Single Post
Old 03-24-2008, 01:25 PM   #30
badgoodDeb
Grand Sorcerer
badgoodDeb ought to be getting tired of karma fortunes by now.badgoodDeb ought to be getting tired of karma fortunes by now.badgoodDeb ought to be getting tired of karma fortunes by now.badgoodDeb ought to be getting tired of karma fortunes by now.badgoodDeb ought to be getting tired of karma fortunes by now.badgoodDeb ought to be getting tired of karma fortunes by now.badgoodDeb ought to be getting tired of karma fortunes by now.badgoodDeb ought to be getting tired of karma fortunes by now.badgoodDeb ought to be getting tired of karma fortunes by now.badgoodDeb ought to be getting tired of karma fortunes by now.badgoodDeb ought to be getting tired of karma fortunes by now.
 
badgoodDeb's Avatar
 
Posts: 8,551
Karma: 64462893
Join Date: Jan 2008
Location: Harrisburg outskirts
Device: Palms, K1-4s, iPads, iPhones, KV, KO1
On a mac, my command line is:

/usr/local/bin/pythonw scriptname.py "bookname w spaces.pdb" anydir/ "Name On Card" last8digitsofcard

While I am sitting in the directory that has scriptname.py and bookname.pdb in it. "anydir" doesn't have to pre-exist. And, the code says you only need the last 8 digits of the card, so that's all I bother with.

Or <path-to>/scriptname.py if it isn't in the current path. For example: ../../scriptname.py
badgoodDeb is offline   Reply With Quote