bsmoehring / jpsTools

tool for converting osm-data into jupedsim geometryy files
http://www.jupedsim.org
1 stars 1 forks source link

String convert? #21

Closed chraibi closed 6 years ago

chraibi commented 6 years ago

I have a question to this line, which gives me a SyntaxError: invalid syntax

Do you mean to convert i to a str? (str(i))

bsmoehring commented 6 years ago

it works for me the way i did it. but yes, i do save all id's as strings. does it work if you do str(i) ?

chraibi commented 6 years ago

yes str(i) works. Maybe the operator you are using is python2 specific.