
Download and install Python, and set up a PyCharm community edition project. Write a hello world program to learn printing strings and running Python code.
Explore how to use Python's turtle module to draw the Olympic circles, importing turtle, setting colors, and controlling the pen with pen up, pen down, go to, and circle.
Define variables and explore Python basics, including memory, assignment, and type detection. Learn data types (int, float, string, boolean) and arithmetic operations with precedence, division, floor division, modulo, and parentheses.
Prompt the user for a radius with input, compute the circle area using 3.14159, and print the result. The lesson demonstrates interactive input and prints the area for different radii.
Learn to use Python's time module to obtain the current GMT time, compute current seconds, minutes, and hours with total seconds, modulo, and integer division, and print results.
learn to compute the distance between two points in Python and display it graphically with turtle, including drawing the line, labeling points, and showing the distance at the midpoint.
Learn Python math functions—from ceil and floor to pow, sqrt, factorial, and trig with radians and pi—and practice string handling with indexing, slicing, length, and case conversion.
Import the Python math module and explore algebraic and trigonometric functions such as exp, log, log base 10, sqrt, sin, cos, and tan, with radians and degrees conversions.
Learners explore a Python program that computes change from a user amount into dollars, cents, and coins, and uses escape sequences like backslash n and backslash t for output.
Draw shapes in Python with the turtle module, adjust pen size, and use circle with a steps parameter to create triangle, square, pentagon, exergen, or circle; color comes next.
Explore enhancing shapes with fill in python's turtle module, beginning and ending fills to color five shapes, and adding text with customizable fonts while hiding the turtle.
Explore Python conditional statements by applying comparison operators, if, elif, and else to evaluate X and Y, convert numeric grades to letters, and print results.
Learn how a Python-based birthday guessing algorithm uses conditionals and yes-no questions to incrementally deduce the day, then print the result by converting the number to a string.
Generate two random single-digit numbers using the random module, swap with simultaneous assignment to avoid negatives, then quiz the user on their difference and validate with a conditional.
Learn to determine the Chinese zodiac from a year using conditionals. Compute the remainder when dividing the year by 12 and map it with if-elif-else to the 12 zodiac signs.
Use the random module to generate a 0–999 lottery number, prompt a guess, and award exact matches (ten thousand) or digit matches (thousand or three thousand), with digit extraction explained.
Use the turtle module to draw a circle and a point, then determine if the point lies inside the circle by comparing its distance to the center with the radius.
Explores for and while loops in Python, using range with start, end, and step, demonstrates iteration, counting, and printing even numbers, and shows break and continue to control flow.
Learn to build a Python guess-the-number game using Python's random module and a while loop that prompts input and provides high or low feedback until correct number is guessed, 0–100.
A Python program runs a subtraction quiz loop using random single-digit numbers and the time module to measure duration, tracks correct answers and questions, and demonstrates possible grading by percentage.
Demonstrates generating a 10x10 multiplication table using nested for loops, formatted output with a specified width, and inline printing to show immediate calculations and table separation.
Prints the first thousand prime numbers, starting from two, with ten numbers per line, by testing each candidate for primality via divisors from two to half the number.
Explore a Python turtle random walk on a 16 by 16 lattice, drawing the grid, then stepping randomly from the center until exiting the grid.
Define and call functions in Python to encapsulate reusable code, return values, and pass arguments, with examples like circle area and string length.
This lecture defines a max-two-number function and demonstrates a main program using two arguments and optional user input. It introduces modular programming and object-oriented concepts with classes and objects.
Develop a gcd function to compute the greatest common divisor of two integers via a divisor loop, showcasing modular programming by importing the function from a module for reusable code.
Learn to create functions that return random characters from lowercase, uppercase, digits, and ascii ranges using the random module, plus a main section that prompts input and prints results.
Explore how to build a calendar program in Python by defining modular functions to print the month title and body, determine days in a month, and handle leap years.
Learn to define reusable turtle functions for drawing lines, writing strings, points, circles, and rectangles, import them from a module, and call them in a program to produce a drawing.
This lecture explains objects and classes in Python, defines a class, instantiates students, uses a constructor, and adds methods like print full name and change phone; it tracks total students.
Define a Python TV class with channel, volume, and power state, including methods to turn on/off, get/set channel, and channel up/down and volume up/down; demonstrate with two TV objects.
demonstrates mutable vs immutable objects using a circle class, showing how radius changes inside a method while the outer value stays constant, and how areas are computed.
Learn graphical user interface programming in Python, building windows and widgets like labels, entries, and buttons, using grid layout and messagebox for user feedback.
Create a simple graphical user interface in Python by importing the module, building a window with a label and a button, and running the main loop.
Create a simple GUI in Python with OK and Cancel buttons bound to click handlers that print messages, and run the window event loop to process button events.
Demonstrates a Python GUI with a widgets demo: a window with frame, check button, radio buttons, name entry, color choices, and a text window to display results.
Explore a change label demo in a Python GUI program that starts with 'Programming is fun,' updates label from input, and changes color using radio buttons and a process button.
Demonstrate a canvas-based GUI by creating a window with buttons for rectangle, arc, polygon, line, and text; use a frame and grid layout, and a main loop for interactivity.
Demonstrates placing labels in a window with a place manager demo class, using Teekay functions, and positioning three labels at specific x and y coordinates.
Explore a Python graphical user interface loan calculator. Enter annual interest rate, years, and loan amount to compute monthly and total payments.
Demonstrate loading images from a project image folder into a photo image, label, and canvas within frames, using image buttons, check buttons, and radio options in a Python GUI.
Showcases building a menu-driven GUI with a menu bar and operation cascade for add, subtract, multiply, and divide, using labels, entries, and a quit option.
Demonstrate a pop-up menu on a canvas activated by right-click, with options to draw a line, an oval, a rectangle, or clear the canvas, all bound to mouse events.
Bind mouse buttons and keys to a canvas to display click positions and event details, then modify bindings for button two and three to understand event handling.
Enlarge and shrink a circle on a canvas using left and right clicks, with radius-based drawing and redraw logic. Build foundational Python GUI skills, including classes, objects, and canvas drawing.
Explore a decay-based animation demo that moves a canvas text message left to right, wraps at the width, and demonstrates how step size and sleep time affect smoothness and speed.
Learn how to control a GUI animation by stopping, resuming, and adjusting speed with faster and slower buttons, using frame back, canvas, and sleep time, with conditionals that bound speed.
Explore a Python program that implements a scrolling text interface using a text frame and a vertical scroll bar. Learn frame versus window sizing and scroll bar configuration.
Learn to implement dialog boxes in python 3 gui programming, including info, warning, and error messages, yes/no and ok/cancel prompts, and asking for name, age, and weight.
Explore how to work with lists in Python, including defining, indexing, slicing, mutability, and common operations like insert, remove, copy, range, and multidimensional lists.
Present the first example of chapter nine data analysis by building a Python program that uses a list, range and append to compute the average and count numbers above it.
Enter numbers from one to ninety nine, ending with zero. Split input, convert to numbers, store in a list, and use an is_covered flag to verify all numbers are present.
Create a graphical user interface in Python that displays a deck of card images and shuffles to pick four random cards from the image folder for display in a window.
This lecture demonstrates a Python 3 bouncing balls simulation with a dynamic list, allowing add and remove actions, edge bouncing, and stop or resume controls, plus random colors.
Explore inheritance and polymorphism in Python by building a student class and a grad student subclass, using super for code reuse and showcasing degree handling and full name printing.
Explore geometric objects by building a base geometric object class with color and filled attributes, then demonstrate inheritance with circle and rectangle, exposing area, diameter, perimeter, and polymorphism.
Explore polymorphism using circle and rectangle classes to implement a common interface for display and area, showing how a single function adapts across different classes.
Import the Still Clock class and modules, create a Still Clock subclass of canvas, implement time calculations and display, and demonstrate inheritance and polymorphism with set-time controls.
Python 3 is one of the strongest programming languages and one with a high demand on the market. Whether it is for scientific programming, gaming or web development, Python has the tools and libraries that will make your project come to life.
This first course will help you set a foot in the world of Python, without any prior knowledge. We will guide you through these 14 chapters, filled with practical examples, allowing you to code right away from the very beginning.
Once this course is finished you will be able to expand your Python horizon to other features such as Pygame for example, which is for gaming development under Python, PyTorch for machine learning and even Qiskit for Quantum Computing.
The course is divided into the following chapters:
Introduction to Python 3
Elementary programming
Mathematical Functions, Strings, Objects
Conditional statements
Loops
Functions
Objects and Classes
GUI programming with Tkinter
Lists
Inheritance and Polymorphism
Files and Exception Handling
Tuples, Sets and Dictionaries
Recursion
Bonus - Additional Modules
All the source codes are available for download along with the videos.