python-minifier icon indicating copy to clipboard operation
python-minifier copied to clipboard

print

Open andrasaa opened this issue 3 years ago • 2 comments

Hi There,

I have found an issue. The description says that Python 2.7 is supported, but it gives and error on "print" function

Missing parentheses in call to 'print'. Did you mean print(boolObjL)?

Parentheses is not required for print in Python 2.7.

andrasaa avatar May 07 '22 22:05 andrasaa

Hello @andrasaa, you need to run python-minifier using a version of python that supports your source. If your source code only works in python 2.7, you need to install and run python-minifier with python 2.7

dflook avatar May 08 '22 09:05 dflook

Hello @andrasaa, you need to run python-minifier using a version of python that supports your source. If your source code only works in python 2.7, you need to install and run python-minifier with python 2.7

Thank you. I changed Python version to Python 2.7.18 but it has the same issue. I tried Command Line and Visual Code too.

andrasaa avatar May 08 '22 21:05 andrasaa