
256 Python Things I Wish I Knew Earlier
[Summary]
256 useful Python things that younger me would have benefitted from knowing earlier
[Who this book is for]
Beginner or intermediate level Python learners who want to learn useful new things about Python
[What you stand to gain from this book]
I'm confident that you'll learn at least 100 new things about Python that you've not known before (unless you're already a Python expert)
[Author]
Software engineer @ Meta (Singapore)
Python educator @ Medium (850+ articles, 100K+ followers, 2mil+ reads)
[Why I am qualified to write this book]
Used Python extensively in Meta (Sep 2024 - current) to build multiple automation workflows and APIs
Used Python extensively in Morgan Stanley (Sep 2022 - Aug 2024) to build and migrate a multitude of APIs using Python, Flask and FastAPI
Python writer on Medium with 850+ articles, 100K+ followers and 2+ million reads
Wrote multiple PyPI libraries with 85K+ downloads
Write multiple other ebooks with 100+ sales
Python tutor with 1000+ hours of experience
[Some highlights from this book]
3) We can print coloured text in terminal
40) {var=} in f-strings
65) mydict[key] VS mydict.get(key)
81) We can use * and ** to unpack lists/dicts into functions
106) Advanced customizable decorators
111) Frozensets and why we use them
173) Why from X import * is bad practice
190) breakpoint() and the Python Debugger (pdb)
210) python -i myscript.py, the -i flag, and running code in interactive mode
233) async def, Asynchronous functions, await & coroutines
Cheers