Master Python for Real Projects
12 weeks · 5 milestones
Write Pythonic code, work with APIs and external libraries, build and test a data pipeline, and publish a real Python package on PyPI.
Milestone map
Milestone map
0 of 5 done
Current milestone
Write Pythonic code, not just Python code
1–2 weeks. The Pythonic rewrite takes an afternoon. The CSV program takes 2–3 days the first time — file I/O always surprises.
Rewrite one of your skills-learn-to-code programs using Python idioms: list comprehensions, f-strings, enumerate(), zip(), and the with statement. The rewritten version must be shorter and clearer than the original. Then write a second program from scratch that reads a CSV file, processes each row, and writes a summary to a new file — using only the Python standard library, no pandas.
Proof required
Share a GitHub Gist or repo showing the before and after versions of your rewritten program side by side. Share the CSV processing program with a sample input file and its output. Write 150 words on what makes Python idiomatic — what did you remove and why is the shorter version better, not just shorter?
What gets checked
- Before/after comparison is genuine — the after version uses comprehensions, f-strings, or context managers in a place where the before version used a loop, concatenation, or manual file close
- CSV program reads a real file the submitter created (not a downloaded dataset) and produces meaningful output, not just a print of each row
- The 'why shorter is better' reflection names a specific readability or safety improvement — not just 'it's cleaner'
Work with APIs and external libraries
Write tests for your own code
Build a data pipeline from files to output
Publish a Python package on PyPI
Sign in to start this outcome and track your progress publicly.
Sign in to start this outcome →