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!

Code Challenge 61 - Build a URL Shortener

Posted by PyBites on Thu 21 February 2019 in Challenge • Tagged with code challenge, challenges, Flask, mentoring, code review, PR, github • 3 min read

Hey Pythonistas, in this challenge you will build an URL shortener. Enjoy!


Continue reading

How to Parse Hidden HTML With Selenium Headless Mode and Deploy it to Heroku

Posted by Bob on Tue 19 February 2019 in Tools • Tagged with Selenium, headless, Heroku, tweepy, argparse, Slack, Packt, books, automation, parsing, BeautifulSoup, requests, namedtuple, Scheduler, git, buildpacks, environment variables • 6 min read

Ever wondered how you scrape hidden (or JS generated) HTML? Selenium is your friend. Ever wondered how to run it without a browser popping up? Use headless mode. How would you run it remotely? Use Heroku. And how about autoposting to Slack and Twitter? With the right libraries and API setup little code is needed. In this 10 step guide I will show you how to build a Packt Free Learning Notifier which will accomplish all these tasks. Ready to learn some nice automation skills in Python?


Continue reading

PyBites Twitter Digest - Issue 01, 2019

Posted by PyBites on Sun 17 February 2019 in Digest • Tagged with twitter, news, pybites, tips, Survey, Talk Python, Bites of Py, Test & Code, PyCon, virtualenv, super, OOP, packaging, Walrus Operator, turtle, data science, podcast, Teachingpython, Jupyter, Anaconda, carbon, PythonValentine, perfplot, Dropbox, classes, Vim, Hacktoberfest, sleep • 3 min read

It has been too long 😞 but we're excited to bring you today: 🐍 PyBites Twitter Digest - Issue 01, 2019 😎


Continue reading

Code Challenge 60 - Working With PDF Files in Python

Posted by PyBites on Tue 08 January 2019 in Challenge • Tagged with code challenge, challenges, PDF, text parsing, data mining, data cleaning, PyPDF2, pdftables, PDFMiner, PyPI • 3 min read

Hey Pythonistas, in this challenge you will learn how to work with PDF documents. Enjoy!


Continue reading

Code Challenge 59 - Analyze Podcast Transcripts with NLTK - Part II

Posted by PyBites on Tue 08 January 2019 in Challenge • Tagged with code challenge, challenges, NLTK, podcast, text parsing, data mining, data science, Jupyter notebooks • 2 min read

Hey Pythonistas, in this challenge you will expand on the work of PCC58, doing some natural language processing (NLP) on the podcast transcript data you collected. Have fun!


Continue reading

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

Posted by PyBites on Mon 07 January 2019 in Challenges • Tagged with code challenge, challenges, NLTK, podcast, text parsing, data mining, data science, talk python, itertools, sqlite3, dictionary comprehensions, list comprehensions, splitlines, iterators, SequenceMatcher, OrderedDict, praw, collections, defaultdict, namedtuple, Counter, JSON, XML, pomodoro, Flask, regex, datetime, timedelta, CLI applications, f-strings, feedparser, requests • 5 min read

In this article we review our PCC58 - Analyze Podcast Transcripts with NLTK - Part I code challenge.


Continue reading

2 years of PyBites, Our Pythonic Journey and the Creation of an Awesome Community

Posted by PyBites on Wed 19 December 2018 in Special • Tagged with special, milestone, python, 100daysofcode, talkpython, platform, bitesofpy • 6 min read

Today marks exactly 2 years since we set off on our amazing PyBites journey. In this special post we look back and reflect on what we learned.


Continue reading

PyBites Twitter Digest - Issue 38, 2018

Posted by PyBites on Sun 09 December 2018 in Digest • Tagged with twitter, news, pybites, tips, patterns, SciPy, arithmetic, concurrency, APIs, decorators, LambStatus, Loguru, logging, Twilio, serverless, deep learning, AWS, Lambda, DynamoDB • 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 Twitter Digest - Issue 37, 2018

Posted by PyBites on Sun 02 December 2018 in Digest • Tagged with twitter, news, pybites, motivation, musicology, music21, TinyDB, CLI, data science, books, SQL, Git, AWS, Lambda, API Gateway, serverless • 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

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