1
I have a foo.py Python file containing print "bar"
code.
When I want to python foo.py
my code, here is the error : SyntaxError: Missing parentheses in call to 'print'
. Do you know how to avoid this error without adding '(' and ')' to my print
function ?
Thanks !
1For python 3 print is a function and must have () – user151019 – 2019-01-25T16:37:27.530