Jan-03-2021, 02:27 AM
(This post was last modified: Jan-03-2021, 02:42 AM by AntaresSky.)
Hi,
Thanks for the help!
I gave it a try and this is the message I'm getting in the command prompt window.
I tried moving the Else around on the line a bit but didn't help.
Microsoft Windows [Version 10.0.17134.1]
© 2018 Microsoft Corporation. All rights reserved.
C:\Users\Glen>d:
D:\>cd lightburn
D:\lightburn>comment.py test.gc
File "D:\lightburn\comment.py", line 19
else:
^
SyntaxError: invalid syntax
D:\lightburn>
Edit got the else figured out but now have this issue.
D:\lightburn>comment.py test.gc
Traceback (most recent call last):
File "D:\lightburn\comment.py", line 18, in <module>
out.lines.append("(" + line + ")")
NameError: name 'out' is not defined
D:\lightburn>
Thanks
Glen
Thanks for the help!
I gave it a try and this is the message I'm getting in the command prompt window.
I tried moving the Else around on the line a bit but didn't help.
Microsoft Windows [Version 10.0.17134.1]
© 2018 Microsoft Corporation. All rights reserved.
C:\Users\Glen>d:
D:\>cd lightburn
D:\lightburn>comment.py test.gc
File "D:\lightburn\comment.py", line 19
else:
^
SyntaxError: invalid syntax
D:\lightburn>
Edit got the else figured out but now have this issue.
D:\lightburn>comment.py test.gc
Traceback (most recent call last):
File "D:\lightburn\comment.py", line 18, in <module>
out.lines.append("(" + line + ")")
NameError: name 'out' is not defined
D:\lightburn>
Thanks
Glen