r/learnpython • u/ASIC_SP learnbyexample • Aug 02 '21
[Giveaway] Announcing Practice Python Projects ebook, free for a week
Hello!
I'm excited to announce my latest book titled Practice Python Projects. 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. Visit https://github.com/learnbyexample/practice_python_projects for programs and related example files presented in this book.
To celebrate the release, all my Python books are free for a week. To get the projects book alone:
The bundle also includes 100 Page Python Intro and Python re(gex)?:
If you prefer web version, visit https://learnbyexample.github.io/practice_python_projects/
Hope you find these books helpful in your Python programming journey. I'd highly appreciate your feedback.
Happy learning :)
2
u/kidclutch00 Aug 03 '21
Hey, I am in the midst of doing the reddit poll project. I edited the regex and brought the mismatches down from 37 to 23 for the 2021 txt file. Is this regex correct?
pat = re.compile(r'''\s(?:[–-]|by)\s
|\s\\[–-]\s
|\s\*by\s
|\*\*by\s
|[,-]\s
|\w(?:[–-]|by)\w
''', flags=re.I|re.X)
2
u/ASIC_SP learnbyexample Aug 03 '21
Yeah, this'll be a good addition.
I'd suggest
\w[–-]\winstead of\w(?:[–-]|by)\wsince matchingbyin the middle of a word isn't a good match.
2
u/_knowledge11 Aug 05 '21
Wow, I haven't downloaded yet but the fact that you're giving out such resources for free is an amazing gesture of kindness. Thank you in advance.
1
7
2
u/Successful-Trash-752 Aug 02 '21
Is this a scam? Because on the website it shows a fair price option, not free?
1
u/ASIC_SP learnbyexample Aug 03 '21
Yeah, as mentioned in another comment, you have to enter
0as the price on Gumroad.2
3
u/hellohappystar Aug 02 '21
For the learn by example link: you’re supposed to type in a price under the fair price option. Zero is an acceptable number.
1
u/Successful-Trash-752 Aug 02 '21
For other people learnbyexample link does not work, learnpub links do. I just downloaded the books.
3
u/nanakuro35 Aug 02 '21
Thank you so much! I'm a new coder and still trying to grasp basics at the moment but I'm loving it so far and these things are super helpful!
5
2
2
2
2
2
2
2
2
2
2
3
2
1
u/Realistic-Word-2929 Aug 02 '21
Just downloaded the book, and this is a true masterpiece. This will sure to help many different people!
1
35
u/Righteous_Dude Aug 02 '21
That's generous of you. Thank you for writing these books and offering them!