In this article we review last week's Python Clipboard History code challenge.
Reminder: new structure review post / Hacktoberfest is back!
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!
Community Pull Requests
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)
Read Code for Fun and Profit
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!
Need more Python Practice?
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
See an error in this post? Please submit a pull request on Github.