Hey guys. I have an if statement (below) with some invalid syntax (as reported by Python).
Code:
if add_yes == n:
add_folders = 1
Quote:
Originally Posted by Python Debug Info
File "compression.py", line 19
if add_yes == n:
^
SyntaxError: invalid syntax
|
The caret is at the colon.
I tried removing the colon from my if statement, but then I receive this error:
Quote:
Originally Posted by Python Debug Info
File "compression.py", line 20
add_folders = 1
^
SyntaxError: invalid syntax
|
The caret is at the "s" in "add_folders."
I have no idea what the problem is. Any ideas?