Open kdelint opened 6 years ago
Are you running Python v3? print syntax has changed. We will update.
@kdelint , me too stumbled upon the same error. In my case I was using python3.
You may convert the BAGEL.py
script to python 3 and fix the syntaxes using this command (that's what I did):
2to3 -w BAGEL.py;autopep8 -i BAGEL.py
2to3
and autopep8
can be installed from pypi pip install 2to3 autopep8
.
This syntax error keeps coming up, but I can't figure out what's wrong. Any help would be appreciated!
C:\BAGEL>BAGEL.py bf -i RPE1.txt -o RPE1out.txt -e CEGv2.txt -n NEGv1.txt -c 1,2,3 File "C:\BAGEL\BAGEL.py", line 106 print helptext('main') ^ SyntaxError: invalid syntax