In this article we review last week's Python Clipboard History code challenge.
From now on we will merge our solution into our Community branch and include anything noteworthy here, because:
we are learning just like you, we are all equals :)
we need the PRs too ;) ... as part of Hacktoberfest No. 5 that just kicked of (5 PRs and you get a cool t-shirt)
Don't be shy, share your work!
A good 10+ PRs this week, amazing!
Check out the awesome PRs by our community for PCC54 (or from fork:
git checkout community && git merge upstream/community):
Refreshed pypeclip and sqlite modules. PyQT5 documentation is evolving. Hence there are not much code available in the public domain to play around with, which is a constraint in designing GUIs for Python apps using QT.
I had to really think about how to monitor the clipboard and copy the text from it just ONCE, ie, no immediate duplicates. It was more the thought process around it.
I learned some new things about tkinter
Gave me the chance to finally play with python 3.7's dataclasses, although not by much though.
Really nice one to practice various skills. I made a clipboard cache queue, a bit like vim buffers (used: deque, clear terminal, class, property, pyperclip, termcolor)
Other learnings we spotted in Pull Requests for other challenges this week:
withworks in python
(PCC13) I tweaked your tests in order to make it pass with my data structure.
(PCC39) Played around with 'fixture' and the scope of the fixture.
(PCC47) This one was time consuming because I had to look up how to graph all of these, but it was an excellent learning exercise!
(PCC51) Expanded my skills of working with the databases within python and brushed up on some rusty SQL skills
Thanks to everyone for your participation in our blog code challenges! Keep the PRs coming and include a README.md with one or more screenshots if you want to be featured in this weekly review post.
Keep the PRs coming, again this month it counts for Hacktoberfest!
Subscribe to our blog (sidebar) to get periodic PyBites updates.
And/or take any of our 50+ challenges on our platform.
Prefer coding self contained Python exercises in the comfort of your browser? Try our growing collection of Bites of Py.
Keep Calm and Code in Python!
-- Bob and Julian
Do you want to get 250+ concise and applicable Python tips in an ebook that will cost you less than 10 bucks (future updates included), check it out here.
"The discussions are succinct yet thorough enough to give you a solid grasp of the particular problem. I just wish I would have had this book when I started learning Python." - Daniel H
"Bob and Julian are the masters at aggregating these small snippets of code that can really make certain aspects of coding easier." - Jesse B
"This is now my favourite first Python go-to reference." - Anthony L
"Do you ever go on one of those cooking websites for a recipe and have to scroll for what feels like an eternity to get to the ingredients and the 4 steps the recipe actually takes? This is the opposite of that." - Sergio S