Closed derekwilling closed 6 years ago
@DirtySoc
For scoping and to create clearer error messages, let's do something like this:
line_num = None
if os.name == "nt":
line_num = error.split(":")[2]
else:
try:
line_num = error.split(":")[1]
except Exception as e:
print(os.name + " not compatible: " + e)
updated. let me know if that works!
@DirtySoc That works! Thanks! I'll test it out on my windows and linux systems and merge it later tonight. Thanks!
Cool. I'll start working on #26
tested w/ python 3.7.0, windows 10 1809, and MS Edge.
Fixes #29