Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

title Python for Absolute Beginners: From Zero to Real Projects
description Learn Python with 295+ concept demos, practice, functions, OOP, files, JSON, modules, packages, and real-world projects. Runnable code, practice exercises with solutions, and slide PDFs for the StackSimplify course.

Python for Absolute Beginners: From Zero to Real Projects

Learn Python with 295+ concept demos, practice, functions, OOP, files, JSON, modules, packages, and real-world projects.

Learn Python from absolute zero and build a strong programming foundation through 295+ focused concept demos, hands-on practice, workshops, and real-world projects. This course is designed for complete beginners. No prior programming experience or Python knowledge is required. We start from the very basics and progressively build your Python skills, from your first program to functions, files, modules, packages, OOP, and complete Python projects.

The Course in Pictures

What you get

Python for Absolute Beginners, by the numbers: from zero programming experience to writing and shipping your own Python programs. 13 sections, setup to classes, in order. 295 plus concepts, each one is a demo you can run. 60 plus practice problems where you write the code. 60 plus workshop problems, a bigger task per step, optional and for more practice. 2 real projects, built with you line by line. No experience needed: we install Python together, then start at print(), and nothing is assumed. Every solution included: try it yourself first, then compare with the full solution file. Every line on screen: you watch each line being typed and run, and nothing is pasted in already finished

What you learn, and in what order

Your Python journey: 13 sections, 295 plus concepts and 2 real projects, with 32 hours of video, every concept taught on screen line by line. Part 1, Foundations: Setup, still to record, then Variables and Data Types with 32 concepts in 1 hour 43 minutes, Strings and f-strings with 20 concepts in 1 hour 26, Operators and Conditionals with 19 in 1 hour 38, Collections with 51 in 3 hours 37, Loops and Comprehensions with 45 in 4 hours 08, and Functions with 47 in 5 hours 16, leading to Milestone Project 1, the CLI Expense Tracker, which uses only Sections 1 to 7, takes 7 build steps and runs 2 hours 18. Part 2, Leveling Up: Type Hints with 9 concepts in 38 minutes, Error Handling with 12 in 1 hour 31, Files JSON and Paths with 16 in 1 hour 15, Standard Library with 21 in 1 hour 09, Virtual Environments and Packaging which is 7 command-line steps in 1 hour 38, and Classes and OOP with 25 in 2 hours 13, leading to Milestone Project 2, the CLI Persistent Expense Tracker, which uses all Sections 1 to 13, takes 11 build steps and runs 3 hours 29

The Python keywords you will write

Python keywords, 30 of 35 by the end. Python has only 35 keywords and you will have written 30 of them yourself by the end of this course. Covered: True, False, None; and, or, not, in, is; if, elif, else; for, while, break, continue; def, return, lambda; class; try, except, finally, raise; import, from, as; global, nonlocal; with; and pass. Not covered here, and left for later courses: assert, del, yield, async and await, plus the four soft keywords match, case, underscore and type

How every section is taught

How you learn here: the same rhythm in every section, and it ends in a real project rather than an exercise. Step 1, learn: a Concept is one small idea, a demo you run, and its exact output, written by Kalyan with every line typed on screen, and there are 295 plus concepts. Step 2, practice: a Practice problem is a short problem for that concept where you write the code and a solution file is there to compare against, and there are 60 plus problems. Step 3, combine: a Workshop is a bigger task that puts the concepts together, optional and for more practice, where you write the code and a solution file is there to compare against, and there are 60 plus problems. Step 4, build: a Project, where Milestone 1 builds the app and Milestone 2 rebuilds it properly, built by Kalyan with you line by line, across 2 milestone projects. Try first, then check: every practice and workshop problem ships with a full solution file, so attempt it yourself, then compare

Two ways to run the concept demos

Running the concept demos: every concept is a few lines you can run, and there are two ways to get them onto your machine. Way 1, from the course website at https python-for-beginners.stacksimplify.com: open the section page and find the concept, copy the code block in one click, paste it into that section's lecture file, then run it and compare with the output on the page. Way 2, from the GitHub repo at https github.com slash stacksimplify slash python-for-absolute-beginners: clone python-for-absolute-beginners once, open the section's python-learn folder, where every step is a file such as s05_step01_lists.py, and run it as it is with nothing to copy. Which one: typing it yourself sticks better, so use Way 1 while you learn, and keep the repo open as the finished reference and for the days you just want to run something fast

Two ways to do the practice problems

Practice and workshop problems: the same two routes as the demos, but here the point is that you write the code first. Way 1, on the course website at https python-for-beginners.stacksimplify.com: the Question gives the task and its expected output, the Hint is there if you are stuck and gives a nudge rather than the answer, and the Solution opens only after you have tried, with everything on one page so there is nothing to download to get started. Way 2, in the GitHub repo at https github.com slash stacksimplify slash python-for-absolute-beginners: the question file is python-practice slash s05_practice01_lists.py, which holds the task as comments with empty space below for you to write, and the solution file sits in the solutions folder as s05_practice01_sol_lists.py, with workshops working the same way under python-workshop. The one rule: the solution is always one click or one folder away, which makes it easy to peek, so write your own version first, even a wrong one, because that attempt is what makes the solution stick

Milestone Project 1: what you build

Milestone Project-1, what you will build: a real program you run from the terminal, built with dictionaries and functions and nothing beyond Sections 01 to 07. On screen, the Expense Tracker menu: 1 Add expense, 2 List expenses, 3 Total spent, 4 Spending by category, 5 Show one category, 6 Quit, and the prompt Choose 1 to 6, six choices and you write every one of them. Behind it, what you write in Project 1: one expense is a dictionary with three keys; all of them are a plain list held in main(); the five actions live in f5_actions.py, one function per menu choice; and the helpers f1 to f4 validate, format a row, total, and total by category. Project 1 comes after Section 07, in 7 build steps

Both milestone projects

Milestone Projects 1 and 2: what you build. One app, built twice. Project 1 with dictionaries and functions. Project 2 rebuilt with classes, with its data saved to a file. On screen, a terminal running the Expense Tracker menu: the title line, then 1 Add expense, 2 List expenses, 3 Total spent, 4 Spending by category, 5 Show one category, 6 Quit, and the prompt Choose 1 to 6. Green marks what changes in Project 2: the 2.0 added to the title, and choice 6, which becomes Save and quit. Behind it, four things change. One expense: a dictionary with three keys becomes class Expense, one object with four attributes. All of them: a plain list in main becomes class ExpenseBook, which holds the list and the methods. Choice 6: Quit, which just exits, becomes Save and quit, which writes the file first. After you quit: the data is gone because it lived in memory, and instead it is saved to data slash expenses dot json and is still there next run. Project 1 comes after Section 07, in 7 build steps. Project 2 comes after Section 13, in 11 build steps

What You Will Learn

Section What you learn Demos Lessons
01. Python Environment Setup Set up Python, VS Code, and your development environment so you are ready to start coding. install and setup Website
02. Variables and Data Types Variables, data types, print(), type conversion, keywords, and the foundations of Python programs. 32 concept demos Website
03. Strings and f-strings Strings, string methods, indexing, slicing, and f-strings for building dynamic text. 20 concept demos Website
04. Operators, Booleans, and Conditionals Arithmetic, comparison, and logical operators, Boolean expressions, if, elif, and else. 19 concept demos Website
05. Collections Lists, tuples, dictionaries, and sets, including their most important operations and patterns. 51 concept demos Website
06. Loops and Comprehensions while loops, for loops, range(), nested loops, break, continue, enumerate(), zip(), and comprehensions. 45 concept demos Website
07. Functions Defining and calling functions, parameters and arguments, return values, default and keyword arguments, unpacking, *args, **kwargs, scope, and lambda. 47 concept demos Website
08. Type Hints Type hints, and how they make Python code easier to read, maintain, and work with. 9 concept demos Website
09. Error Handling and Debugging Exceptions, try, except, else, finally, raise, and practical debugging techniques. 12 concept demos Website
10. Files, JSON, and Paths Reading and writing files, working with JSON data, and using pathlib for files and directories. 16 concept demos Website
11. Standard Library Essentials Useful standard library tools, and how to use Python's built-in capabilities in real programs. 21 concept demos Website
12. Virtual Environments and Packaging Modules, imports, packages, virtual environments, name == "main", pyproject.toml, and how Python projects are structured and packaged. 7 command-line steps Website
13. Classes and OOP Basics Classes, objects, init, self, attributes, methods, str, repr, @classmethod, and @staticmethod. 25 concept demos Website

Every section page is free to read on the course website - no sign-in, no enrolment.

Build Real Python Projects

Milestone Project 1: CLI Expense Tracker

Put your Python fundamentals into practice by building a command-line Expense Tracker using the concepts you have learned throughout the course.

Project files: Milestone Project 1: CLI Expense Tracker | Lessons: Website

Milestone Project 2: Persistent Expense Tracker

Take the same project further instead of starting over. Refactor and upgrade it using classes, JSON persistence, error handling, better code organization, virtual environments, and a third-party package.

Project files: Milestone Project 2: Persistent Expense Tracker | Lessons: Website

A Concept-First, Hands-On Approach

This course is built around focused concept demos. You will not just watch long theory lectures. You see each concept demonstrated with code, practise what you have learned, and then apply those skills through practice exercises, workshops, and milestone projects. The goal is to help you understand why Python works the way it does, not just memorize syntax.

By the end you will have gone from absolute beginner to building and upgrading real Python applications, with a foundation you can keep building on for automation, DevOps, web development, data, AI, and other areas of Python development.

What Is in This Repo

Every section folder from 02 onward has the same three folders:

  • python-learn/: a runnable worked example for every concept.
  • python-practice/: 60+ exercises to solve, with answers in solutions/.
  • python-workshop/: 60+ bigger build-it-yourself exercises, with answers in solutions/.

Plus milestone-projects/ for the two projects, and pdfs/ for the slide decks.

01-Python-Environment-Setup holds only a README, because that section installs your tools rather than running code. 12-Virtual-Environments-and-Packaging has no python-workshop/, because that section is command-line work.

Slides (PDF)

Every section's slide deck is in pdfs/, the same slides shown in the course.

Requirements

  • No programming experience required: No prior programming or Python knowledge is needed. We start from the absolute basics.
  • Computer: A Windows, macOS, or Linux computer capable of running Python and VS Code.
  • Internet connection: A stable connection is recommended for downloading Python, VS Code, course resources, and Python packages.
  • VS Code: Recommended, and we install and configure it together in Section 01.
  • Python: No prior installation or experience is required. We install and configure Python together in Section 01.
  • Command line: No prior command-line experience is required. Basic terminal usage is introduced as needed.
  • No prior language required: You do not need experience with Java, C, C++, JavaScript, or any other programming language.

Who This Course Is For

  • Complete beginners: Anyone with no prior programming or Python experience who wants to learn Python from absolute zero.
  • Students and aspiring developers: Learners who want a strong Python foundation before moving into software development and more advanced topics.
  • IT professionals: Professionals adding Python for automation, scripting, DevOps, cloud, backend development, or other technical work.
  • Developers from other languages: Programmers who know another language and want Python's syntax, patterns, functions, modules, packages, and OOP.
  • Future AI, ML, and data science learners: Learners moving into AI engineering, machine learning, generative AI, data science, or data analysis who need a solid Python foundation first.
  • Hands-on learners: Students who prefer focused concept demos, coding practice, workshops, and building real applications over theory alone.
  • University and college students: Students in computer science, software engineering, AI and ML, data science, or related fields.

Get the Full Course

This repo is the code companion. The complete step-by-step course, videos plus written lessons, is on:


(c) StackSimplify / Kalyan Reddy Daida. All rights reserved. See LICENSE.

About

Learn Python for absolute beginners - hands-on code, practice exercises with solutions, and slide PDFs from the StackSimplify Python for Absolute Beginners course.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages