Recent Posts

Python Tutorial / Project: Validate CSV Data and Produce Reports
Build a complete CSV validation pipeline with duplicate rejection, category totals, rejected-record reasons and explicit partial-result and exit-code policies.

Python Tutorial / Build Command-Line Programs with argparse
Define argparse positionals and options, validate amounts and choices, inspect help and exit codes and keep calculation logic reusable.

Python Tutorial / Write Automated Tests with unittest and Boundary Cases
Build meaningful unittest cases for normal, empty and rejected input, verify they catch defects and distinguish unit checks from file/database integration testing.

Python Tutorial / Describe Function Inputs and Results with Type Hints
Read Python type hints, distinguish static analysis from runtime checks and handle optional return values and external input contracts explicitly.

Python Tutorial / Store Data with sqlite3 and Parameterized Queries
Use sqlite3 transactions and value parameters, enforce database constraints and verify that rejected writes and repeated imports preserve the intended records.

Python Tutorial / Understand HTTP APIs, JSON Responses and Request Failures
Run a local HTTP/JSON client with time and size limits, validate records and distinguish network failures from malformed or unsuitable data.

Python Tutorial / Search and Copy Files with a Dry Run and Verification
Preview a batch copy, apply it explicitly, refuse destination collisions and verify file bytes while understanding partial results and scope limits.

Python Tutorial / Aggregate and Combine Iteration with collections and itertools
Use Counter, defaultdict, chain and groupby while accounting for missing-key insertion, adjacent groups and iterator consumption.

Python Tutorial / Search and Extract Text with Regular Expressions
Choose regex searches or full-string validation, extract named groups and separate string shape from calendar and business validity.

Python Tutorial / Work with Dates, Times and Time Zones
Use date, datetime, timedelta and zoneinfo, preserve instants during conversion and choose clear time-zone and calendar-date storage rules.