This book presents five beginner to intermediate level projects inspired by real world use cases:
- Enhance your CLI experience with a custom Python calculator
- Analyzing poll data from a Reddit comment thread
- Finding typos in plain text and Markdown files
- Creating a GUI for evaluating multiple choice questions
- Square Tic Tac Toe — creating a GUI game with AI
To test your understanding and to make it more interesting, you'll also be presented with exercises at the end of each project. Resources for further exploration are also mentioned throughout the book. Visithttps://youtu.be/5whwiiURWS8for a short video about the book.
SeeVersion_changes.mdto keep track of changes made to the book.
You can purchase the pdf/epub versions of the book using these links:
You can also get the book as part of these bundles:
- The Indie Python Extravaganzabundle fromhttps://leanpub.com/b/theindiepythonextravaganza
- IncludesPython 101,Pydon'ts,Python re(gex)?,Practice Python ProjectsandClean Architectures in Python
- Learn by example Python bundlefromhttps://leanpub.com/b/python-bundleorhttps://learnbyexample.gumroad.com/l/python-bundle
- All books bundlebundle fromhttps://learnbyexample.gumroad.com/l/all-books
- Includes all my programming books
Seehttps://learnbyexample.github.io/books/for list of other books
For a preview of the book, seesample chapters
The book can also beviewed as a single markdown file in this repo.See my blogpost ongenerating pdf/epub from markdown using pandocif you are interested in the ebook creation process.
For web version of the book, visithttps://learnbyexample.github.io/practice_python_projects/
Your Practice Python Projects book is really helping me to reinforce my knowledge and mastery of Python as I'm learning.
Please open anissueif you spot any typo/errors.
I'd also highly appreciate your feedback about the book.
Twitter:https://twitter.com/learn_byexample
- Python documentation— manuals and tutorials
- /r/learnpython/and/r/Python/— helpful forums for Python programmers
- stackoverflowandunix.stackexchange— for getting answers on Python, Bash and other pertinent questions
- tex.stackexchange— for help onpandocand
tex
related questions - Cover image:
- Programmingillustration byVijay Verma
- command-window,chart,game,network,questionandsnakeicons fromsvgrepo.com
- LibreOffice Draw— background and title/author text
- WarningandInfoicons byAmada44
- pngquantandsvgcleanerfor optimizing images
- Inkscapefor favicon
- mdBook— for web version of the book
- mdBook-pagetoc— for adding table of contents for each page
- minify-html— for minifying html files
The book is licensed under aCreative Commons Attribution-NonCommercial-ShareAlike 4.0 International License
The code snippets are licensed under MIT, seeLICENSEfile