View Single Post
Old 03-19-2009, 08:03 PM   #133
wallcraft
reader
wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.
 
wallcraft's Avatar
 
Posts: 6,977
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
Quote:
Originally Posted by sona View Post
I'm having trouble to run the program on my Mac

python .ereader2html.pyWane.pdbName/FTFLM/tst "My own name" "12345678"
Suppose a hypothetical python script, e2h, (nothing to do with DRM stripping) requires 4 arguments, then I would suggest:
Code:
python ./e2h.py ebook.pdb ebook 'My Name' '12345678'
Use single quotes, because some strings can get changed inside double quotes. For simplicity, I suggest the directory name (ebook) not include "/" (i.e. is just a simple subdirectory). The "./" in ./e2h.py guarantees that the local e2h.py is being used, although a simple e2h.py would probably also work.
wallcraft is offline   Reply With Quote