I'm fairly new to programming/coding, so bear with me.
I noticed that when I run .py files in cmd, the command looks something like:
C:\Users\Desktop\hello
"hello"
with hello being the python file, and the hello string being output.
For my friend, who's learning code along side me, the command looks more like:
C:\Users\Desktop\python hello.py
"hello"
My question is, what is the explanation for why my command is shorter as opposed to my friends? Can I help get my friends commands to look more like mine? I would really love some clarity here. Thanks!
ftype /?andassoc /?. Thenpath /?.set pathext.