This is the 8th in a series of videos providing a tutorial on Python 2.7 using Anaconda Python and the Spyder IDE. Click here to go to a “home page” for the video series.
This video is the first of four videos on introducing objects in Python. This video covers the basic idea of using the class statement to create objects in Python and then goes on to show how to create objects using the __init__( ) function to dynamically create object attributes.
The source code used in this video can be found here. You can right click on the link and use “Save As” to save the file.
Note: The source code files are plain text files with a “.txt” extention. You will probably want to change the extensions to “.py” after you download them. If you do so, please be aware that if you have Python installed, the file will become executable, so that it will run if you click on it (accidentally or otherwise).
The video is about 23 minutes long.
Video Index: Python Objects Part 1
Click on the topics below to jump to that location in the video.