Skip to content
Pybites

Pybites

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

Articles on datetime

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

Learning, Concepts

Stuck in import hell? Walk your way out.

By Russell Helmstedter on 22 February 2024

Welcome to Hell Cue the theme song from The Fresh Prince of Bel Air. This is a story that turns out well. But my code got stuck in import hell. I tried to teach my students all about pytest. Instead, for two days, I was sent on a debugging quest. I teach middle school students… Continue reading Stuck in import hell? Walk your way out.

Modules, Data

Making plots in your terminal with plotext

By Bob Belderbos on 22 August 2022

In this blog post a quick script to plot the frequency of our blog articles in the terminal. It’s good to see that we’re getting back on track 🙂 The code gist is here. First we import the libraries we are going to use. As always we separate Standard Library modules from 3rd party ones… Continue reading Making plots in your terminal with plotext

Tools

Freezegun – Real Joy for Fake Dates in Python

By AJ Kerrigan on 14 August 2020

Freezegun is a library for mocking Python datetimes. It does one thing, does it well, and lets you get on with your life.

Concepts

3 Cool Things You Can do With the dateutil Module

By Bob Belderbos on 30 November 2018

In this short article I will show you how to use dateutil’s parse, relativedelta and rrule to make it easier to work with datetimes in Python.

Code Challenges

Code Challenge 56 – Calculate the Duration of a Directory of Audio Files – Review

By PyBites Team on 30 October 2018

In this article we review last week’s Calculate the Duration of a Directory of Audio Files code challenge.

Code Challenges

Code Challenge 56 – Calculate the Duration of a Directory of Audio Files

By PyBites Team on 23 October 2018

Hi Pythonistas, Welcome to Pybites Code Challenge 56! In this challenge we’re asking you to work with directory, files and audio meta data!

Code Challenges

Code Challenge 52 – Create your own Pomodoro Timer – Review

By PyBites Team on 1 October 2018

In this article we review last week’s Create your own Pomodoro Timer code challenge.

Code Challenges

Code Challenge 52 – Create your own Pomodoro Timer

By PyBites Team on 24 September 2018

Hi Pythonistas, Welcome to Pybites Code Challenge 52! In this challenge we get you create your very own Pomodoro Timer!

Twitter Digest

Twitter Digest 2018 Week 10

By PyBites Team on 4 March 2018

Every weekend we share a curated list of 15 cool things (mostly Python) that we found / tweeted throughout the week.

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 our Python Tips ebook for free.

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