Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

🐍 Python Atlas

Learn Python from zero — in a single HTML file.

A self-contained, beautifully designed Python learning resource inspired by Rustlings Atlas. No installations, no frameworks, no build step — just open the file and start learning.

Live site → yaswanthme007.github.io/python-learn


What it covers

30 lessons across 12 parts, from absolute basics to real-world Python:

Part Topics
0 · Foundations Hello Python, Variables, Numbers & Math
1 · Types & Values Strings, Booleans & None, Type Conversion
2 · Collections Lists, Tuples & Sets, Dictionaries
3 · Control Flow if/elif/else, for loops, while/break/continue
4 · Functions Defining functions, *args/**kwargs, Lambda
5 · Comprehensions List, Dict & Set comprehensions
6 · Classes & OOP Classes, Inheritance, Dunder methods
7 · Error Handling try/except, Custom exceptions
8 · Iterators Generators & yield
9 · Decorators Function decorators
10 · Files & I/O Files, Context managers, pathlib
11 · The Ecosystem Modules, Type hints, dataclasses, functools, asyncio

Features

  • Single file — everything lives in index.html, zero dependencies
  • Progress tracking — mark lessons complete, saved to localStorage
  • Code editor UI — every lesson has a syntax-highlighted code block with expected output
  • Fully responsive — sidebar nav collapses to a hamburger menu on mobile
  • Smooth animations — section transitions, staggered content entrance, micro-interactions throughout

Design

  • Fonts — Fraunces (headings), Space Grotesk (body), JetBrains Mono (code)
  • Theme — dark blue, Python blue #4B9CD3, Python yellow #FFD43B
  • Background — subtle dot grid
  • No frameworks — pure HTML, CSS, and vanilla JavaScript

Usage

# Clone and open locally
git clone https://github.com/yaswanthme007/python-learn.git
cd python-learn
open index.html   # or just double-click it

Or visit the live site directly — no setup needed.


Inspired by

Rustlings Atlas by @rgcsekaraa — the same single-file learning concept, reimagined for Python.

About

Interactive Python learning atlas with 30 lessons, progress tracking, and hands-on examples all packed into a single responsive HTML file with zero dependencies.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages