A few examples that will save the day probably* 95% of time. *I don’t have the actual data but seriously, I bet you’ll find those tips useful more often than not! Introduction This article was originally posted on Medium. I use f-strings every day. The irony is I also every day end up searching the Web to… Continue reading Python F-String Codes I Use Every Day
Articles on tricks
How to Debug a Hanging Test Using pytest
By Bob Belderbos on 18 March 2020
Today a wanted to share a neat trick that might save you some headache: debugging a hanging test.
Hiding BCC Recipients in Python MIME Emails
By Julian Sequeira on 6 September 2017
How to actually hide the BCC recipients when sending an email with Python MIME.
How to Write a Decorator with an Optional Argument?
By Bob Belderbos on 11 April 2017
When playing with decorators (this week’s challenge) I got stuck: how do you write a decorator that takes an optional argument? Python cookbook 3rd ed edition to the rescue. In this post how I failed my way to the right solution.
5 Vim Tricks to Speed up Your Python Development
By Bob Belderbos on 28 March 2017
In this article 5 Vim shortcuts to speed up your Python development.
How to Order Dict Output in Python
By Julian Sequeira on 16 February 2017
Learn how to order the output of a Python Dict
Shelve It!
By Julian Sequeira on 13 February 2017
Shelve basics and a question on how best to manage importing the DB.
From beginner to pro: Python books, videos and resources
By PyBites Team on 7 February 2017
A list of useful Python resources to boost up your skills.
Twitter digest 2017 week 05
By PyBites Team on 4 February 2017
On Saturdays we will share a curated list of 15 cool things (mostly Python) we found / tweeted during the week.
Discover Python Help Options
By Julian Sequeira on 2 February 2017
Discover some of the numerous Python Help functions.