Skip to content
Pybites

Pybites

  • Training
  • Certifications
  • Community
  • Code Platform
  • Articles
  • Search

Articles on tricks

Tips

Python F-String Codes I Use Every Day

By Pawel Jastrzebski on 5 April 2024

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

Testing

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.

Testing

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.

Tips

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.

Tools

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.

Tips

How to Order Dict Output in Python

By Julian Sequeira on 16 February 2017

Learn how to order the output of a Python Dict

Learning

Shelve It!

By Julian Sequeira on 13 February 2017

Shelve basics and a question on how best to manage importing the DB.

Uncategorized

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

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.

Learning

Discover Python Help Options

By Julian Sequeira on 2 February 2017

Discover some of the numerous Python Help functions.

Posts pagination

Page 1 Page 2 Older posts

PDM Program

  • Log In
  • About PDM

PyBites

  • Catalogue
  • Podcast
  • Articles
  • Platform
  • Community
  • Shop

Resources

  • About Us
  • Contact Us
  • Sitemap
  • Privacy Policy

Mailing List

Subscribe to our mailing list and receive the PyBites Effective Developer Package for free.

  • Twitter
  • LinkedIn
  • Facebook
  • YouTube
  • Github
  • RSS
Powered by coffee, © 2025 PyBites.