0

I dont wanna use 'py myfile.py', i use 'python myfile.py'.

  • Running 'py file.py' works though.
  • I do have python extension installed
python : The term 'python' is not recognized as the name of a 
cmdlet, function, script file, or operable program. Check the spelling
of the name, or if a path was 
included, verify that the path is correct and try again.
    At line:1 char:1

VS studio still gives me error, but before that i did "select python interpreter". it's set at my std installation:

C:\Users\Admin\AppData\Local\Programs\Python\Python38

I followed another similar question on SO, did restart - what am i doing wrong?

ERJAN
  • 23,696
  • 23
  • 72
  • 146

1 Answers1

1

What you're interested in is the difference between py and python.

If so the question is a possible duplicate of this What is the difference between 'py' and 'python' in the terminal?

Sheila Mbadi
  • 116
  • 5