r/learnpython • 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 :)

465 Upvotes

30 comments sorted by

35

u/Righteous_Dude Aug 02 '21

That's generous of you. Thank you for writing these books and offering them!

13

u/ASIC_SP learnbyexample Aug 02 '21

You're welcome, 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[–-]\w instead of \w(?:[–-]|by)\w since matching by in 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

u/ASIC_SP learnbyexample Aug 06 '21

You're welcome, happy learning :)

7

u/friday_ghost Aug 02 '21

Thank you for sharing.

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 0 as the price on Gumroad.

2

u/tdn Aug 03 '21

Very fair. Thanks for sharing.

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

u/dyrimar Aug 02 '21

Thank you very much for sharing your books!

2

u/monsoon_man Aug 02 '21

Thank you for sharing

2

u/PM-ME-HANDSHAKES Aug 02 '21

Thanks for sharing.

2

u/Bevfrancisdawg Aug 02 '21

awesome, thank you

2

u/victorgrimaldo Aug 02 '21

Thanks for sharing!!

2

u/Raulo369 Aug 03 '21

Thanks!!

2

u/classic0090 Aug 03 '21

Much appreciated thank you.

2

u/LoneWolf_AL Aug 03 '21

Thanks for sharing.

2

u/ich-bin-jade Aug 03 '21

You are amazing! Thank you so much OP!

2

u/0ni0nrings Aug 06 '21

thanks for sharing 👍

3

u/ryanblumenow Aug 02 '21

This is awesome, thank you so much!

2

u/[deleted] Aug 02 '21

You are a Rockstar! Thank you.

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

u/rainbow_bro_bot Aug 02 '21

Thanks for sharing.