Technical support > Windows
map-get - bad syntax
(1/1)
Kaerius:
Ok... so the documentation for using map-get is non-existant, but it's apparently a python script, so I downloaded python(3.1)... still wasn't making it run, so I opened the python GUI, opened the script in it, and told it to run module... only to run into a syntax error in the script!
--- Code: ---def run(cmd, mandatory=True):
print cmd
if os.system(cmd) and mandatory:
sys.stderr.write('Faild to run: %s' % cmd)
sys.exit(2)/code]
It says SyntaxError, invalid syntax, and highlights the "cmd" part.
--- End code ---
Kildor:
Try to use python 2.6, I`m not a python-coder, but I`ve seen a note, «Python 3.1 is a continuation of the work started by Python 3.0, the new backwards-incompatible series of Python.»
Kaerius:
That did it... now if I could only get ufo2map to compile...
Navigation
[0] Message Index
Go to full version