How gtm-safal/cs50p works
Project Type and Purpose
• This is an educational repository of standalone Python scripts and exercises for CS50P’s Introduction to Programming with Python.
• Each “Week N” folder contains one or more problem‐set scripts (e.g., loops, file I/O, OOP) plus, in some weeks, resource files (CSV, TXT) and unit tests.
File Structure
• Top‐Level “Week 0” through “Week 9” directories, each holding one or more .py files named after the exercise, with occasional subfolders for tests or data.
• In Week 5, Week 7, and Week 8, test subdirectories (test_bank, test_numb3rs, etc.) coexist alongside their implementations.
• Week 6 contains data assets (.csv, .txt) together with scripts that parse them.
README for Insights
• Confirms Python 3.8+, use of pytest for tests, and topical grouping (functions, loops, exceptions, libraries, file I/O, regex, OOP, CLI).
• Emphasizes that these are standalone command‐line tools rather than a single integrated service.
Elements
• Labels: directory names (Week 0 … Week 9), script names (e.g., fuel.py), test names (test_fuel.py).
• CLI → Script (execution)
• Script → Resource File (I/O)
• Test → Script (dependency)
• Blue rectangles for scripts
• A gray oval for the Python interpreter
• A stick‐figure for the CLI user