Entering edit mode
5.2 years ago
jaqx008
▴
110
Hello All, I encounter this error in my shell script and I really don't see anything wrong with the python script the error is complaining about.
Error ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(int "error: invalid input format")?
File "modifiedOverhangScript.py", line 72
print "error: invalid input format"
Line 71 and 72 of py script looks like this (below).
if len(samplefields) #alignment format are tabulated with at least two fields.
print "error: invalid input format"
I tried to change the line to
print(int "error: invalid input format")
it gave errors again.