IGC2CSV icon indicating copy to clipboard operation
IGC2CSV copied to clipboard

SyntaxError?

Open lshachar opened this issue 8 years ago • 1 comments

Hey! Thank you for writing this tool! I'm not able to use it, though. I know nothing at all about python, so I might be doing something wrong. here's the error I'm getting:

D:\Program Files\DashWare\IGC2CSV-master>python IGC2CSV.py 2017-09-22-XCT-SLI-01.igc File "IGC2CSV.py", line 103 print "Header (not implemented): {}".format(line[1:]) ^ SyntaxError: invalid syntax

(python 3.6. The ^ character points to the second " character, at the actual error message. -right before the word format)

lshachar avatar Sep 28 '17 16:09 lshachar

Hi @lshachar! Unfortunately I haven't touched this project in a while.

The first thing I would suggest is to try to run it in Python 2.7. I can't remember which version of Python I built this script for (I should have put it in the readme!) but a SyntaxError makes me think that this is a pretty fundamental issue, so a Python version mismatch seems likely.

OverloadUT avatar Oct 30 '17 19:10 OverloadUT