Home › Python with Chai book
Python with Chai: learn Python from Basic to Expert
Learn Python the chai way: one cup, one chapter. 30 illustrated chapters (300+ pages) take you from print() to decorators, asyncio and a real capstone project, with Chotu the chai-cup buddy on every page. By Raj, AI expert · Azure & Claude certified AI architect · 20 years in tech.
- 30 chapters, Basic, Intermediate and Expert
- English edition, PDF + EPUB
- 120+ examples, every output checked by really running the code
- Common mistakes with real error messages, practice, answers, cheat sheets and an index
Price
Regular price: ₹499. A launch offer may be running: see today's price on the book page. Checkout is on Gumroad (in US dollars, GST extra for India buyers).
See today's price and buyEnglish edition
Free chapter previews
- Chapter 1: Hello, Python!: English
- Chapter 3: Strings: playing with text: English
- Chapter 4: Numbers, maths and input(): English
- Chapter 5: Decisions: if, elif, else: English
- Chapter 6: Loops: do it again and again: English
- Chapter 7: Lists: many items, one box: English
- Chapter 8: Tuples and sets: English
- Chapter 9: Dictionaries: the menu card: English
- Chapter 10: Functions: write once, use forever: English
- Chapter 11: Errors and debugging: English
- Chapter 12: Files, CSV and JSON: English
- Chapter 13: Modules and the standard library: English
- Chapter 14: Classes and objects: English
- Chapter 20: Project: the Chai Shop app: English
- Chapter 30: Performance, and the expert capstone: English
Questions
What format is the Python with Chai book?
PDF + EPUB, both included in every purchase. The PDF (A5 pages) reads well on a phone, tablet or laptop and prints nicely; the EPUB is for Kindle, Kobo and phone e-book readers.
I do not have Python installed. Can I still use the book?
Yes. Paste any example into the free Python Playground on this site and press Run: it runs in your browser, even on a phone. Almost every example works there.
Do I need to know coding?
No. Chapter 1 starts from installing Python. The expert chapters are there when you are ready.
Can I read a free preview first?
Yes. Every preview chapter shows the title page, a chai-shop story and a sneak peek, in the English PDF.
Python is a trademark of the Python Software Foundation. This book is not affiliated with or endorsed by it.