I have installed Python27 already in my C: drive. I have a code written in Python2.7.x and when I type the statement in Git Bash command line-
python --version
it gives me
3.8.1
How do I run the Python2.7.x script named first.py which is in the following directory
C:/Python27/m1/m1/first.py
py -2andpy -3work in your Git Bash?winpty py -2andwinpty py -3. If it works, addalias py='winpty py'to~/.bashrc.