When trying to run a Python file using Visual Studio Code's terminal window, it's in the format of python -u path_of_python_file
but this does not do anything. What does do something is the py command, which runs the file normally.
How can I make it so that Visual Studio Code uses the py command and not python? For example, py C:\Users\...
I have searched for a setting that alters it but I cannot find one. My currently installed Python-related extensions are 'Python' and 'Code Runner' and I have Python 3.7, 64 bit installed. I have tried with a variety of programs including a simple 'hello world' program and it works fine on IDLE and on the command line (using 'py' not 'python').
With this question, I have no such option on the command palette.