Join Barron Stone for an in-depth discussion in this video Installing Python 3 for Windows, part of Programming Fundamentals in the Real World.
- For this course, I'll be using Python version 3.5 and IDLE, which is the Integrated Development Environment that's included with the Python installer. If you already have a version of Python 3 installed on your system, then you should be good to go and able to run most of the example programs from the exercise files without any problems. In case you need it, this video will walk you through the entire process for downloading and installing Python 3.5 in Windows. To get the Python installer, go to the download page which is at python.org/downloads.
For this course, I'm going to select the most recent version of Python 3 by clicking the yellow button near the top. At the time of this recording, the latest version was Python 3.5. This will bring up the Save File prompt to download the Windows MSI installer package. So I'll click Save. After the installer has finished downloading, double-click on the MSI file to begin the installer program. This will bring up the window to go through the installer prompts. So I'll click the button to install now. Your computer might ask for security permission to install.
Go ahead and click Yes. And then we wait for the installation process to finish. And that's all you need to do. After the installer is completed, we'll want to verify that Python and IDLE were installed and configured correctly. So I'll close out this window. I'm going to open up IDLE, which is the Integrated Development Environment included with Python. Since I'm on Windows 8, I'm going to hit the Windows key and then type "idle", i-d-l-e. And that searches and finds IDLE. So I'll hit Enter. If IDLE comes up like this, that means Python and IDLE were successfully installed.
If you want to open up one of the example scripts, you can go to File, Open, and then navigate to the exercise files. I have them saved on my Desktop, so I'll go there and choose an example file from the next chapter. Double-clicking on it will open up the script and the IDLE text editor. Now that I can see it's all working, I'm ready to start scripting.
- Reusing functions
- Local vs. global variables
- Creating and naming custom objects
- Class inheritance
- Modules and packages
- Multidimensional lists and tuples
- Queues and stacks
- Creating and combining sets
- Storing data in dictionaries
- If/else and switch statements
- For vs. while loops
- Error handling
- Polling and event-driven programming