View Single Post
Old 03-21-2009, 04:23 PM   #140
sona
Junior Member
sona began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Mar 2009
Device: none
Quote:
Originally Posted by wallcraft View Post
In a terminal window, files and subdirectories are taken starting from the "current directory". For example, if your ebooks are in ~/Books, then first make sure that Wane.pdb and the script ereader2html.py are in ~/Books (~ is your home directory, I'm not sure what this is called on a Mac). Then in a terminal window do the following:
Code:
cd ~/Books
python ereader2html.py Wane.pdb Wane "My own name" "12345678"
The cd (change directory) command puts you in ~/Books, and the python command should create a subdirectory ~/Books/Wane and write the HTML and images extracted from Wane.pdb into it. Note that there is no "." before ereader2html.py.

You don't have to use ~/Books, replace this with whatever directory you want (but the ebook and the script should be in this directory).

Thank you for that, my only problem now is that it says the file doesn't exist... I redld it and I don't understand the problem... it is in a directory in the home directory (the one with your computer's name right ?) it is there with the book itself...

I'm really near to abandon this altogether... I really don't get the problem

but thanx a lot for the help...
sona is offline   Reply With Quote