Originally Posted by AlPe
If I understand correctly, you are not invoking python, but simply calling "penelope.py" that your Windows shell opens as a text file.
Assuming you added the python bin to your $PATH***, try cd to that directory and then:
python penelope.py -p English-German -f en -t de
as written in http://www.albertopettarin.it/penelope.html
. Note that you must set "de" as the "to" language, if your dictionary is indeed from English to German.
*** To test whether you added python to your $PATH, try opening the interactive console:
(you can exit writing "quit()" --- without quotes )
my $PATH look so:
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\Sy stem32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShel l\v1.0\;C:\Python27\
and when I write Code "python" into cmd, python appears on the screen (Python 2.7.3 is installed on my Notebook).
After writing in Command line: python penelope.py -p English-German -f en -t de
become this message:
"File "penelope.py", line 5 <!DOCTYPE html> SyntaxError: invalid syntax
Whitout "python" (only: penelope.py -p English-German -f en -t de
) get "penelope.py" open and nothing else is happen...
I do something wrong. But, I don't know WHAT!?
It look so simple, but...