Video Index
Section 1. The Basics
- How to Download and Install Python >>
- "Hello World" (Python 3 Command Line) >>
- "Hello World" (Python 3 GUI) >>
- Python Keyboard Input >>
- Python Program Design >>
- Coding a Design in Python >>
- Testing a Python Program >>
- Python Variables and Data Types >>
- Python Assignment Statement >>
- Python Assignment Operators >>
- Python Augmented Assignment Operators >>
- Naming Python Variables >>
- Pythons Case Sensitivity >>
- A Python Variable versus a Python Object >>
- Immutable Object >>
- Object References >>
- Copying Object References >>
Section 2. Python Structures (Sequence, Selection and Iteration)
Section 3. Python Operators
- Pythons Relational Operators (making decisions) >>
- Multiple Conditional Tests (and paths) in a Python program >>
- Pythons range function >>
- The for loop iteration >>
- Pythons Arithmetic Operators >>
- Pythons % Operator >>
- Pythons logical operators (and, or & not) >>
- Pythons logical and operator >>
- Operator Precedence >>
- Multiple Assignment >>
- Multiple Assignment and Trace Tables >>
- Simultaneous Assignment >>
Section 4. Python Functions
Section 5. Introduction to Classes and Objects
Section 6. Python Strings
- Finding the length of a Python String >>
- Iterating over a Python String >>
- Forward Indexing Over a Python String >>
- Python Forward Indexing Example >>
- Backward Indexing Over a Python String >>
- Python Backward Indexing Example >>
- Counting words in a simple sentence (Python string) >>
- Python String Replicator Operator >>
- Python Class and Object Relationship >>
- Messaging a Python String Object >>
- Python Using the split() method to count words in a string >>
- Pythons string capitalize method >>
- How to count the number of sub-strings in a string using Python >>
- Python String Slicing >>
- Python String Slicing Examples >>
- Python String Slicing More Examples >>
- Python String Slicing Additional Examples >>
- How to Reverse a Python String >>
- Extracting a URL from a Python String >>
- The Python find() String method >>
- Python find() method examples >>
- The Python index() method and exceptions >>
- The endswith() method >>
Section 7. User Defined Function
- Why we have Python functions >>
- Python User Defined Function >>
- How to design a Python function >>
- Python Function with arguments and no return value >>
- Python Function with no arguments but return value >>
- Python Function with no arguments and no return value >
- Python Keyword Arguments for functions >>
- Python Default Arguments for functions >>
- Local and Global Variable Scope >>
- Lifetime of Variables >>
- In functions do not directly access global variable >>
- Python Parameter Passing Mechanism >>
Section 8. Classes and Objects
- Python Class >>
- Python Class Members >>
- Constructing and Assigning a Python Object >>
- Python Methods and self >>
- Pythons self parameter >>
- Python Method Parameters and self >>
- A Python Instance Method >>
- Pythons __init__ method >>
- Python Instance Variables >>
- Local variables in Python methods >>
- Messaging a Python Object >>
- Designing a Python Class >>
- Building a Python Class >>
- Creating an Instance of a Python Class >>
- Python getter and setter Methods >>
- Python Why Data Hiding? >>
- Pythons Data Hiding Convention >>
Section 9. Python Dictionary
- Python Dictionary >>
- Adding Key Value Items to a Python Dictionary >>
- Deleting and Clearing Python Dictionary items >>
- A Python Dictionary is an Object >>
- Pythons dict class popitem() method >>
- Pythons dict class keys() method >>
- Pythons dict class values() method >>
- Pythons dict class get() method >>
- Pythons dict class items() method >>
- Pythons dict class update() method >>
- Python Immutable and Mutable Types >>
- A Python list is Mutable >>
- A Python Mutable list storing Immutable types >>
- Allowable types for Dictionary Keys >>
Section 10. Python tkinter
- Introduction to tkinter >>
- tkinter objects >>
- How to set the title of a Python tkinter window >>
- tkinter events and mainloop() >>
- How to set the background colour of a Python tkinter window >>
- Setting the Size of a tkinter Window >>
- How to set the location of a Python tkinter window >>
- Creating a fixed size Python tkinter window >>
- How to place a Python tkinter window in the center of the screen >>
- Introduction to the tkinter Label widget >>
- Setting the font type, font colour and font size of a label >>
- Setting the width of a tkinter label >>
- Displaying multiple lines of text in a Python tkinter label >>
- Setting the look of the border of a Python tkinter label >>
- Setting the height of a Python tkinter label >>
- Positioning text within a Python tkinter label >>
- How to pad space around the text of Python tkinter label >>
- How to justify text in a Python tkinter label >>
- How to anchor and justify text in a Python tkinter label >>
- How to access the options of a Python tkinter label >>
- Dynamically altering a Python tkinter label >>
- The Python tkinter keys() method for a label >>
- Using StringVar and textvariable with a Python tkinter label >>
- The Python tkinter StringVar set() method >>
- Introduction to the Python tkinter button widget >>
- The tkinter Grid Geometry Manager >>
- Designing a Simple tkinter GUI >>
- The tkinter Entry Widget >>
- The Entry widget and StringVar() >>
- Fahrenheit to Celsius Python GUI >>
- Alternative Python Fahrenheit to Celsius GUI >>
- Setting the focus within a Python GUI >>
- Focus and Tab order of Widgets in a Python GUI >>
- Introduction to the Python tkinter Frame widget >>
- Building a Python tkinter GUI using Frames >>
- Adding Frames to a Python tkinter window >>
- How to Inherit from a Python tkinter Frame >>
- The id and type of a Widget that inherits from a Python tkinter Frame >>
- The need for the __init__ method and self parameter when inheriting with tkinter >>
- Using the Python help function to assist with inheritance >>
- Using Inheritance to Build a Python tkinter GUI >>
- Fullscreen window using tkinter >>
- Fullscreen tkinter window using the f string >>
- Introduction to the Python tkinter Canvas widget >>
- How to draw a line in Python using tkinter >>
- Hexadecimal colour (color) codes for Python tkinter graphics >>
- How to generate a random colour (color) in Python >>
- How to draw Random Coloured lines in Python tkinter >>
- Using the f string to set random Python colours >>
- Drawing shapes on a tkinter Canvas using lines >>
- How to draw arrowhead lines on a Python tkinter Canvas >>
- Shaping the arrowhead of a line in tkinter >>
- Drawing and deleting lines on a tkinter canvas >>
- Drawing lines on a tkinter Canvas with mouse clicks >>
- Accessing the coordinate position of a mouse click >>
- Drawing a line between two mouse clicks using tkinter >>
- Building a tkinter App with a class >>
- Describing a tkinter App built with a class >>
- Creating tkinter Apps from a class >>
- Python Namespaces, name conflicts and tkinter >>
- Python Namespaces >>
- Displaying a Python Namespace >>
- Python and Multiple Namespaces >>
- Python Namespace and Local Scope >>
- Python Global Namespace >>
- Avoiding tkinter naming conflicts >>
- Introduction to the Python tkinter Menu widget >>
- Adding menu items to a Python tkinter menubar >>
- Using tkinter and Python to create a submenu >>
- The tearoff option for a Python tkinter menu >>
- Using separators to group Python tkinter menu items >>
- Displaying the current time in a Python tkinter window >>
- A Digital clock built with Python tkinter >>
- A Digital Clock built with Object Oriented Python and tkinter >>
- Cosmetically Refactoring Python tkinter code >>
Section 11. Python Lists
- Introduction to the Python List >>
- Creating Python lists >>
- Accessing the elements of a Python list >>
- Creating and initialising a fixed size Python list >>
- Navigating a Python list within a while loop >>
- The Python len function and lists >>
- Using the for loop and the while loop with a Python list >>
- Using the max function with Python lists >>
- Using the min function with Python lists >>
- Using the min function with Python lists >>
- How to reverse a Python list >>
- How to append to a Python list >>
- How to extend a Python list >>
Section 12. Python Namespaces
Section 13. Turtle Graphics
- Introduction to Turtle Graphics >>
- Turtle Graphics in Python >>
- Python turtle Screen class >>
- Python turtle Screen exitonclick() method >>
- Setting the background color of a Python turtle screen >>
- How to set the size of a Python turtle screen >>
- How to set the POSITION of a Python turtle screen >>
- Moving the turtle forward and backward in Python >>
- Drawing a Square in Python using Turtle >>
- Drawing a Turtle Square using a Python loop >>
- How to set the drawing colour in Python turtle graphics >>
- Setting the thickness of Python turtle lines >>
- Filling a turtle drawn shape with a colour >>
- How to hide the turtle when it is drawing >>
Section 14. Python Tips
- Python Tip: Constants and Reading large numbers in Python >>
- Python Tip: Frequencies of values in a list >>
- Python Tip: Most frequently occurring value in a Python list >>
- Python Tip: Returning multiple values from a function >>
- Python Tip: Python ‘==‘ versus ‘is’ >>
- Python Tip: The Immutable Integer >>
- Python Tip: The Immutable Float >>
- Python Tip: First Class Objects >>