Thread: Ereader2Html
View Single Post
Old 11-21-2008, 02:23 PM   #23
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,567
Karma: 64462893
Join Date: Jan 2008
Location: Harrisburg outskirts
Device: Palms, K1-4s, iPads, iPhones, KV, KO1
Quote:
Originally Posted by Zen-Diego View Post
I needed to key the full path of c:\python25\Tools\Scripts\ereader2html.py in order to execute, and then adding scriptname bookname.pdb outdir "My Name" 12345678 fell into place. I stuck the pdb file in the python25 directory and also used that for outdir. I was not able to execute using python .\ or pythonw .\ ; seemed like shorthand for how I got to it. But I know nothing about cmd, and got the output I sought- so the directions clearly helped & I am appreciative.
I guess we thought you already WERE in the directory where your script lived. .\ means "in this directory". So we were telling you to run python, and for it to execute .\ereader2html.py meaning "hey python, run ereader2html.py from RIGHT HERE in this same directory." The .\ is part of the scriptname, not part of the python call (which you seemed to think). Clear as mud??!

Glad you got it to work!
badgoodDeb is offline   Reply With Quote