You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#!/usr/bin/python2 or #!/usr/bin/python3 or better #!/usr/bin/env python2 etc.
There should be compatible or both versions for python 2 and python 3. I can't run the script with python3 and I don't need and I don't have python 2 installed on my system. To be more user(reader)-friendly, I suggest to provide with compatible scripts (which can run in both 2 and 3 versions of Python), or different versions of the same script for 2 and 3 versions accordingly.
Python scripts should choose correct interpreter.
#!/usr/bin/python2or#!/usr/bin/python3or better#!/usr/bin/env python2etc.There should be compatible or both versions for python 2 and python 3. I can't run the script with
python3and I don't need and I don't havepython 2installed on my system. To be more user(reader)-friendly, I suggest to provide with compatible scripts (which can run in both 2 and 3 versions of Python), or different versions of the same script for 2 and 3 versions accordingly.