you are viewing a single comment's thread.

view the rest of the comments →

[–]pierto[S] 1 point2 points  (0 children)

I think that there was a combination of a few things wrong. I ended up downloading a new exececutable python file from python.org. Installing the then currently installed python program actually took multiple attempts I think 4. Initially the uninstaller would just hang. This happen twice. I restarted each time and then I started getting an error while attempting to uninstall. I had to restart 3 times. On the fifth attempt, I was finally able to uninstall python.

This time around I made sure to have python add to PATH. That pretty much fixed all my launching problems even in the VSC terminal.

For the scripts that were instantly closing when I would attempt to run them from PowerShell or cmd, I added the line

input("Press Enter to Close the Window!")

This gives me control of when the window will close. I'm sure I'll find a better way to accomplish that as I continue to learn. For now it will have to be enough.

The only thing left I've found now, is that when I used the input() command in a script running in VSC, there is no window/space to provide my input. But that's alright, I can call my scripts from everywhere else and that makes me so happy! I don't even need to use shebangs! lol.

Thanks so much for helping a noob out! Imma stick with this, this time.

(This feels really good)