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!

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

PyBites Twitter Digest - Issue 36, 2018

Posted by PyBites on Sun 18 November 2018 in Digest • Tagged with twitter, news, pybites, Github, TensorFlow, Anaconda, Google, courses, frameworks, Django, Flask, PSF, pycon, dictionaries, JSON, OpenCV, YOLO, packaging, CLI • 3 min read

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


Continue reading

Automating PyBites Review Post Using Github API and collections.defaultdict

Posted by Bob on Tue 13 November 2018 in Data • Tagged with collections, defaultdict, re, regular expressions, requests, challenges, review post, parsing, string manipulation, github, API • 4 min read

In this post I share a quick script I produced last week to automate a portion of our review post. There are some nice idioms that you might find useful.


Continue reading

Code Challenge 58 - Analyze Podcast Transcripts with NLTK - Part I

Posted by PyBites on Fri 09 November 2018 in Challenge • Tagged with code challenge, challenges, NLTK, podcast, text parsing, data mining, data science • 2 min read

Hi Pythonistas, Welcome to Pybites Code Challenge 58! In this two part challenge we're going to do some natural language processing on podcast transcript data. Prepare to have fun expanding your data science skills!


Continue reading

Code Challenge 57 - Analyze Olympic Games Data With Pandas - Review

Posted by PyBites on Fri 09 November 2018 in Challenges • Tagged with code challenge, challenges, Kaggle, Pandas, Olympic Games, matplotlib, Anaconda, Jupyter, csv, Seaborn, Plotly, statistics, SequenceMatcher, Counter, API, IP address, database, JSON, reddit, PRAW, PyQt5, GUI, git • 2 min read

In this article we review last week's Analyze Olympic Games Data With Pandas code challenge.


Continue reading

PyBites Twitter Digest - Issue 35, 2018

Posted by PyBites on Sun 04 November 2018 in Digest • Tagged with twitter, news, pybites, Git, roguelike, machine learning, JSON, tutorial, linear regression, Github, PSF, pygame, Flask, Super Potato Bruh, Neuron, Unix, comics • 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

Code Challenge 57 - Analyze Olympic Games Data With Pandas

Posted by Andrea Mammoliti on Tue 30 October 2018 in Challenge • Tagged with code challenge, challenges, Kaggle, Pandas, Olympic Games, matplotlib, Anaconda, Jupyter, csv, Seaborn, Plotly, statistics • 2 min read

Hey Pythonistas, a new week, a new Python code challenge! This week you can use Python, Pandas and all the libraries you need to analyze the data of Olympic Games and find out interesting things and present them to everyone with Matpolib, Seaborn and/or Plotly.


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

PyBites Twitter Digest - Issue 34, 2018

Posted by PyBites on Sun 28 October 2018 in Digest • Tagged with twitter, news, pybites, Python 3.6, Python 3.7, meetup, AI, Keras, PyQt5, tutorial, Responder, PSF, data visualisation, podcast, regex, Perl, Emacs, secret, Trello, Flask, Twilio • 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

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