Python. How to use ready-to-use script?



I want to convert xml file to sqlite database file. I found python script(actually, it is collection of scripts) which converts xml to sqlite. I have installed Python 3.4 on Windows 7 machine.


Copied folder with scripts(jblite), xml file(JMdict) and sqlite file(jmdict.sqlite) into this folder(Python34) enter image description here


Script documentation says:



Running the JMdict conversion tool:
python -m jblite.jmdict <target.db> <JMdict|JMdict.gz>


Opened cmd and set navigation to Python34 folder and tried run this:



python -m jblite.jmdict jmdict.sqlite JMdict


And I am getting this error: enter image description here


What I am doing wrong? How to solve this problem?


No comments:

Post a Comment