Click here to code!

3 Cool Things You Can do With the dateutil Module

Posted by Bob on Fri 30 November 2018 in Modules • Tagged with dateutil, parse, relativedelta, rrule, fuzzy parser, datetime, timedelta, 100DaysOfCode • 3 min read

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.


Continue reading

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

Posted by PyBites on Tue 30 October 2018 in Challenges • Tagged with code challenge, challenges, audio, music, FFmpeg, subprocess, glob, os.path, pathlib, datetime, eyeD3, csv, Pandas, itertools, re, SQL, property, decorator • 2 min read

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


Continue reading

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

Posted by PyBites on Tue 23 October 2018 in Challenge • Tagged with code challenge, challenges, audio, music, FFmpeg, subprocess, glob, os.path, pathlib, datetime • 2 min read

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


Continue reading

Code Challenge 52 - Create your own Pomodoro Timer - Review

Posted by PyBites on Mon 01 October 2018 in Challenges • Tagged with Pomodoro, time, datetime, code challenge, challenges, wxPython, Django, tkinter, argparse • 2 min read

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


Continue reading

Code Challenge 52 - Create your own Pomodoro Timer

Posted by PyBites on Mon 24 September 2018 in Challenge • Tagged with Pomodoro, time, datetime, code challenge, challenges • 2 min read

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


Continue reading

PyBites Twitter Digest - Issue 21, 2018

Posted by PyBites on Sun 01 July 2018 in Digest • Tagged with twitter, news, pybites, coverage.py, iterators, raspberry pi, OpenCV, tutorial, pytest, TensorFlow, data science, 100daysofcode, IDE, datetime, Python 3.7, data visualisation • 2 min read

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


Continue reading

Twitter Digest 2018 Week 10

Posted by PyBites on Sun 04 March 2018 in Digest • Tagged with twitter, news, pybites, code challenges, Flask, reds, Jupyter, web scraping, Matplotlib, OpenCV, TensorFlow, datetime, testing, celery, vim, regex, GitHub • 2 min read

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


Continue reading

PyBites Module of the Week - Pendulum

Posted by Julian on Sat 24 June 2017 in Modules • Tagged with python, tips, code, pybites, pendulum, datetime, pytz, timezones • 2 min read

A brief overview of the Pendulum datetime module.


Continue reading

Building a Simple Birthday App with Flask-SQLAlchemy

Posted by Bob on Thu 11 May 2017 in Flask • Tagged with Flask-SQLAlchemy, SQLAlchemy, Flask, Facebook, birthday, calendar, icalendar, datetime • 3 min read

In this article I teach you how to get started with Flask-SQLAlchemy. I will set up a model, create the DB, retrieve birthdays from FB and import them into the DB. Lastly I will query the birthdays by date range.


Continue reading