How oscardug/30-days-of-python works
Purpose and Navigation
This is a documentation-first, 30-day Python learning curriculum, not a unified deployable application. The root entry point is readme.md, which links learners through Days 1–30. Each day is independently consumable and combines explanations, exercises, and occasional runnable examples.
Paths: readme.md, 01_Day_Introduction/helloworld.py, 30_Day_Conclusions/30_conclusions.md
Curriculum Spine
The primary control flow is sequential learning: Python foundations, control flow and abstractions, reliability and I/O, then ecosystem and applied topics. Markdown files are the authoritative instructional units; no central Python package orchestrates their execution.
Paths: 02_Day_Variables_builtin_functions/02_variables_builtin_functions.md, 11_Day_Functions/11_functions.md, 21_Day_Classes_and_objects/21_classes_and_objects.md
Runnable Learning Examples
A small subset of days includes standalone Python scripts that learners execute directly with a local Python interpreter. These scripts are examples rather than a shared application: they have no indicated common runtime, package manifest, or cross-day dependency graph.
Paths: 02_Day_Variables_builtin_functions/variables.py, 03_Day_Operators/day-3.py, 04_Day_Strings/day_4.py
Module and Package Boundary
Module/package lessons demonstrate local import boundaries through simple modules and packages. There are two independent example layouts: a Day 12 module pair and root-level package examples. They should be treated as instructional fixtures, not reusable production libraries.
Paths: 12_Day_Modules/main.py, 12_Day_Modules/mymodule.py, mypackage/arithmetics.py
Data, File, and Analysis Materials
The repository ships static inputs for lessons involving file handling, text processing, statistics, and Pandas. Learner code and lesson instructions consume local CSV, JSON, text, XML, and spreadsheet files; 22_Day_Web_scraping/scrapped_data.json is a checked-in scraped-output artifact.
Paths: data/F500.csv, data/countries_data.json, files/excel_example.xlsx
Applied Integration Topics
Later curriculum stages document external-facing Python domains: web scraping, web development, MongoDB, APIs, and API construction. The file tree only establishes lesson documentation for most of these, so service contracts, credentials, and active infrastructure should not be inferred from the curriculum pages alone.
Paths: 22_Day_Web_scraping/22_web_scraping.md, 27_Day_Python_with_mongodb/27_python_with_mongodb.md, 29_Day_Building_API/29_building_API.md
Isolated Flask Web Example
python_for_web/ is the sole app-shaped subtree. Its runtime boundary is a Python web process defined by app.py, with dependencies in its own requirements.txt, HTML templates, static CSS, and a Procfile indicating process-hosting compatibility. It is isolated from the curriculum scripts and data directories.
Paths: python_for_web/app.py, python_for_web/requirements.txt, python_for_web/Procfile
Localization and Content Variants
Translations mirror portions of the curriculum rather than being generated at runtime. English is canonical at the root; Chinese, Spanish, Korean/korean, Portuguese, and Ukrainian contain varying coverage and independently named navigation readmes. Changes to curriculum structure may require manual synchronization across these content trees.
Paths: Chinese/README.md, Spanish/README_sp.md, Korean/readme_ko.md
Main entry points: readme.md Root navigation · 22_web_scraping.md Applied topic lessons · 02_variables_builtin_functions.md Foundations lesson · 11_functions.md Functions lesson
Components 19
30-Day Curriculum
Sequential Markdown-based learning path.
- Root navigation · Entry point linking learners through Days 1–30.
readme.md - Foundations lesson
02_Day_Variables_builtin_functions/02_variables_builtin_functions.md - Functions lesson
11_Day_Functions/11_functions.md - Classes lesson
21_Day_Classes_and_objects/21_classes_and_objects.md - Applied topic lessons · Documents scraping, MongoDB, and API construction without asserting live services.
22_Day_Web_scraping/22_web_scraping.md - Course conclusions
30_Day_Conclusions/30_conclusions.md
Learning Fixtures
Independent runnable and import examples.
- Hello World · Standalone introductory executable.
01_Day_Introduction/helloworld.py - Standalone scripts · Learners execute these independently with local Python.
02_Day_Variables_builtin_functions/variables.py - Module demo entry · Instructional importer for the local module example.
12_Day_Modules/main.py - Local module
12_Day_Modules/mymodule.py - Package arithmetic · Independent root-level package fixture.
mypackage/arithmetics.py
Isolated Web Example
The repository's only app-shaped subtree.
- Flask app · Isolated web runtime, separate from curriculum scripts and data.
python_for_web/app.py - Web dependencies
python_for_web/requirements.txt - Process hosting config
python_for_web/Procfile
Translations
Manually maintained curriculum variants.
- Chinese navigation
Chinese/README.md - Spanish navigation
Spanish/README_sp.md - Korean navigation
Korean/readme_ko.md
Other components
- Static lesson data · Local inputs for file, text, statistics, and Pandas lessons.
data/F500.csv - Scraped data artifact · Checked-in output from the web-scraping lesson.
22_Day_Web_scraping/scrapped_data.json
Connections 15
- Root navigation → Foundations lesson: starts learning path
- Foundations lesson → Functions lesson: progresses to
- Functions lesson → Classes lesson: progresses to
- Classes lesson → Applied topic lessons: progresses to
- Applied topic lessons → Course conclusions: continues to
- Foundations lesson → Standalone scripts: has runnable examples
- Root navigation → Hello World: introduces
- Module demo entry → Local module: imports
- Applied topic lessons → Static lesson data: uses local inputs
- Applied topic lessons → Scraped data artifact: includes output artifact
- Web dependencies → Flask app: defines dependencies for
- Process hosting config → Flask app: declares process for
- Root navigation → Chinese navigation: has translated variant
- Root navigation → Spanish navigation: has translated variant
- Root navigation → Korean navigation: has translated variant