Skip to content

Latest commit

 

History

History
33 lines (25 loc) · 1.09 KB

File metadata and controls

33 lines (25 loc) · 1.09 KB

05 — Data Handling

Strings, files, JSON, CSV, regex, exceptions, and logging.

How each lesson works

Each .py file contains THEORY (docstring at top) + PRACTICE (numbered runnable sections).

python3 core-python/modules/05-data-handling/01_string_basics.py

Lessons

File Topic
01_string_basics.py Indexing, slicing, immutability
02_string_methods.py split, join, strip, replace
03_string_formatting.py f-strings, format(), alignment
04_regex_intro.py re module basics
05_read_write_text.py open(), read, write
06_json_files.py json.load, json.dump
07_csv_files.py csv reader/writer
08_path_handling.py pathlib
09_try_except.py Exception handling
10_multiple_exceptions.py Multiple except blocks
11_raise_custom.py raise, custom exceptions
12_finally_else.py finally, else on try
13_logging.py logging module

→ Next: 06-intermediate-python

Interview prep: INTERVIEW.md — 27+ questions with answers