To start: make sure you have the latest version of Python installed on your computer. If not, head over to python.org and download it like any other software. Once you’ve got that sorted out, open up your Start menu and type “Python” into the search bar. You should see a few options pop up one of them will be called something like “Python (x.y)” or “Python 3.8”. Click on it to launch the Python Launcher for Windows!
Now, let’s say you want to run a script that you wrote in your favorite text editor. Instead of opening up a terminal window and navigating to the directory where your script is located (which is so old-school), simply click “File” > “Open” from within the Python Launcher for Windows. Navigate to your script, select it, and hit “Enter”. The launcher will automatically run your script in its own little window!
Let’s say you want to run a command-line tool that requires some arguments (like `pip` or `git`). Instead of opening up a terminal window and typing out the full path to the executable followed by all your arguments (which is so… 2015), simply click “Run” > “Script” from within the Python Launcher for Windows. Type in the name of the tool you want to run, followed by any required arguments. The launcher will automatically open up a terminal window and execute your command!
And that’s it! You can now use the Python Launcher for Windows as your one-stop shop for all your scripting needs (except for when you need to do something really advanced or custom, in which case you should probably just stick with good old fashioned command line).
Hope this helps! Let me know if you have any questions.
Understanding the Python Launcher for Windows
in python