12-07-2011, 12:31 PM | #1 |
Junior Member
Posts: 2
Karma: 10
Join Date: Dec 2011
Device: iPod
|
tab2opf
Hello everyone!
Trying to convert tab to opf (-utf8) with cmd and there's a syntax error: invalid syntax. Anybody, please? |
12-07-2011, 06:52 PM | #2 |
Grand Sorcerer
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
1) What exactly did you enter at the command line?
2) Did you make sure that the source has the correct format? |
Advert | |
|
12-08-2011, 11:02 AM | #3 |
Junior Member
Posts: 2
Karma: 10
Join Date: Dec 2011
Device: iPod
|
Thanks for your reply.
1. "C:\Documents and Settings\user\Desktop\tab2opf.py" -utf "C:\Documents and Settings\user\My Documents\angpol.tab" File "C:\Documents and Settings\user\Desktop\tab2opf.py", line 2 %s ^ SyntaxError: invalid syntax 2. Yes, I did. |
12-08-2011, 01:00 PM | #4 |
Grand Sorcerer
Posts: 27,549
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
You usually have to preface a command with "python" so your computer knows what to interpret the script with:
Code:
python "C:\Documents and Settings\user\Desktop\tab2opf.py" -utf "C:\Documents and Settings\user\My Documents\angpol.tab" It looks like tab2opf.py is a python 2.x.x script. You aren't, by chance, trying to run it with Python 3 are you? (If you just type "python" at a command prompt, you should be able to determine your Python version). That won't work. |
Tags |
conversion problems, invalid syntax, tab2opf |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
tab2opf.py <idx:key key="xxx"> | Doitsu | Kindle Formats | 0 | 01-11-2011 11:57 AM |