dflook / python-minifier

Transform Python source code into its most compact representation
MIT License
553 stars 40 forks source link

print #53

Open andrasaa opened 2 years ago

andrasaa commented 2 years ago

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.

dflook commented 2 years ago

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

andrasaa commented 2 years ago

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.