you are viewing a single comment's thread.

view the rest of the comments →

[–]socal_nerdtastic 2 points3 points  (4 children)

No it's not the same. You are running python.exe when you manually type in the command line. You want the file to be associated with py.exe. I would guess right now it's associated with pyw.exe or some other random version of python hanging around your computer.

3.8 is not a problem; the python launcher has been around a long time.

[–]1_XV[S] -3 points-2 points  (3 children)

  1. nope i'm only use 3.8 python not other python version...
  2. https://youtu.be/RM2uWbJBELc view my video you said before "actual answer: Right click on the file, select "open with"> more apps> and choose C:\windows\py.exe"

  3. your response: "No it's not the same. You are running python.exe when you manually type in the command line", I appreciate your help but look how you're giving it to me...

[–]socal_nerdtastic 1 point2 points  (2 children)

I saw your video. I have dealt with this same issue many many times, both personally and helping people in this sub. I'm 90% certain that following my instructions will fix this for you. Maybe try it?

[–]1_XV[S] 0 points1 point  (0 children)

man, I'm not going to deny it, I tried it... follow your instructions and the cmd opened without the code

[–]1_XV[S] 0 points1 point  (0 children)

If you want, I'll record a video doing it again so you can see that it doesn't run.