Python Environment Setup
Now, it's time to set up our environment.
Installing Python
To use Python, you must first install Python. To install Python, go to python.org/downloads.
Then, click the big yellow button. In the image, the version is 3.8.5, which may be different from what you see when you are reading this tutorial now. However, the version doesn't matter because we will be covering the basics, which mostly stay the same across different versions.
After clicking the yellow button, the Python installer should be downloaded. Double click on it to run the installer. Now, the below should pop up:
Simply click "Install Now".
Note: it is very important is check "Add to Path". If you don't do it, you won't be able to run Python in the command line!Now, Python should be installing and there should be a green bar indicating the installation progress.
After the green progress bar has reached its end, you should see this window:
Now, simply close it and now you are ready to use Python!
Installing Sublime Text
After getting Python, you will also need a code editor. Sublime Text is a great and easy-to-use text editor that we will be installing in this tutorial.
After navigating to the Download page, you will want to download the file for your computer. Once the file is downloaded, simply run it and go through all of the prompts. At the end, if it closes successfully, you should have Sublime Text installed correctly!
To open Sublime Text, just find it as you would any other app.