earn the White PyBites Ninja earn the Yellow PyBites Ninja earn the Orange PyBites Ninja right arrow earn more PyBites Ninja belts and certificates
The best way to learn to code in Python is to actually use the language.

Our platform offers effective Test Driven Learning which will be key to your progress.


Join thousands of Pythonistas and start coding!


Join us on our PyBites Platform
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

How to Test Your Django App with Selenium and pytest

Posted by Bob on Thu 22 November 2018 in Testing • Tagged with django, pytest, selenium, platform, fixtures, dateutil • 8 min read

In this article I will show you how to test a Django app with pytest and Selenium. We will test our CodeChalleng.es platform comparing the logged out homepage vs the logged in dashboard. We will navigate the DOM matching elements and more. Overall you should learn enough Selenium and pytest to start testing a web page including a login. Sounds exciting? Let's dive straight in!


Continue reading

Data Analysis of Pybites Community Branch Activity

Posted by Martin Uribe on Thu 18 October 2018 in Data • Tagged with data analysis, community, matplotlib, seaborn, dateutil, pathlib, collections, json, code challenges, numpy, pandas, requests • 15 min read

I wanted to play around with a dataset and see what I could find out about it. I decided on analyzing the little bit of data that I could collect from Github without having to use an OAuth key, which limits it to just 300 events. If you want to follow along with my notebook check out the instructions here. This notebook was my submission for Code Challenge 47 - PyBites First Year in Data (Special).


Continue reading