Skip to content

About

Hands-on Python: Complete Video Course & Book: the free lessons' labs, with ./check and a dev container (LearnSome.tech)

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

LearnSome.tech

Hands-on Python: Complete Video Course & Book

From Processor Fundamentals to OOP, Data Structures & Typing

A complete Python course as IDE-style videos, plus a written companion built from the same scripts. 22 modules, 98 lessons, five to ten minutes each. Beginner level, about 11 hours.

This repository holds the labs of the free lessons of the LearnSome.tech course Hands-on Python: Complete Video Course & Book: each lab's starter files, a README with the goal, the steps and the expected output, and ./check, which tests your work the way the site does.

Start

Open in GitHub Codespaces

  • Codespaces: the badge opens this repository in a dev container with Python 3.14.7, as in the site's lab sandbox.

  • On your machine:

    git clone https://github.com/learnsome-tech/python-free-labs.git
    cd python-free-labs
    ./check m01l03-07

    You need Python 3 for ./check, and for the labs themselves Python 3.14.7. Other versions mostly work, but only the sandbox's versions are sure to print what the site prints. VS Code's Dev Containers extension builds the same container as Codespaces (x86-64).

Doing a lab

  1. Open the lesson on LearnSome.tech and the lab folder beside it: labs/<lesson>/<lab>/. The lab README has the goal, the steps and the expected output.
  2. Work in the lab's starter/ folder.
  3. From the repository root, run ./check <lab> (for example ./check m01l03-07), or ./check <lesson> for all labs of a lesson, or ./check --all. ./check --list shows every lab and how it is checked.

./check runs your starter the way the site's lab sandbox does: in a scratch copy that is its working directory and HOME, with LANG=C.UTF-8, TZ=UTC, input.txt on standard input, 10 seconds and 256 KiB of output per stream. It then compares the output with the site's own rules, so a pass here is a pass on the site.

Check What ./check does Labs
Graded Runs the program and compares its output with expected.txt. 3
Runs, not graded Runs the program and shows its output; the site gives no pass or fail, and the lab README says why. 2
Read along Nothing to run here: the site shows the listing read-only, and the lab README says honestly what it needs (Docker, a cluster, a cloud account...). 9

What is published, and what is not

This is the free edition: the labs of the course's free lessons, the ones anyone with a free LearnSome.tech account can watch. Each lab's starter is the code the lesson shows on screen. There are no reference solutions, no Pro lessons' labs or expected outputs, no narration and no quiz or exercise answers.

The labs of the Pro lessons are on the course page, where LearnSome.tech runs and grades them in its sandbox with a Pro membership. The full labs repository is private and stays private.

Modules and lessons

Module 1: Before You Write Code

# Lesson Labs Access
1.1 What A Program Really Is 3 labs Free
1.2 How Python Runs Your Code 2 labs Free
1.3 What Python Is, And Where It Came From 4 labs Free
1.4 Editors, IDEs And Shells 3 labs Free

Free lessons are open to anyone with a free LearnSome.tech account. The rest of the course is on LearnSome.tech with Pro.

Licence

  • Code (starter files, check and .learnsome/, the dev container and the workflows) is under the MIT licence.
  • Written text (the READMEs and lab instructions) is under CC BY-NC-SA 4.0: share and adapt it with attribution to LearnSome.tech, not commercially, under the same licence.
  • The LearnSome.tech name and logo are not covered by either licence.

Contributing and security

This repository is generated from the course. Report a broken lab or a content error as an issue; see CONTRIBUTING.md. Security reports go to SECURITY.md.

© 2026 LearnSome.tech

About

Hands-on Python: Complete Video Course & Book: the free lessons' labs, with ./check and a dev container (LearnSome.tech)

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages