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!

There's no Wrong Way... to Eat a Bite of Py

Posted by AJ Kerrigan on Wed 27 November 2019 in Tips • Tagged with guest, pybites, platform, REPL, virtualenv, learning, tips, editors, setup, ptpython, bpython, mutpy, Anaconda, iPad • 4 min read

There are many ways to tackle a Bites of Py exercise, try them all!


Continue reading

From Webscraper to Wordcloud

Posted by Cedric Sambre on Wed 27 November 2019 in Learning • Tagged with Scraping, BeautifulSoup, NLP, SpaCy, WordCloud, python3.7, webscraping, data, cookiewall, error handling, ajax • 6 min read

After going through the web scraping learning paths, I decided to get my hands dirty and apply my freshly gathered knowledge on a real life project. I explain some difficulties you might encounter while scraping and I also show some libraries that can help you visualizing data you have obtained.


Continue reading

You can now hone your testing / pytest skills on our platform

Posted by Bob on Mon 18 November 2019 in Testing • Tagged with pytest, platform, feature, mutpy, mutation testing, fizzbuzz, fibonacci • 6 min read

Writing test code is an essential skill. As PyBites we believe writing code is the only solution to becoming a master (Ninja) at programming. The same applies to test code. For that reason we extended our regular exercises with Test Bites. In this article you will read about the feature showcasing it on our first ever Test Bite. We also share some details around implementation and a challenge we hit getting it to work. Enjoy and start honing your testing skills today!


Continue reading

Under the Hood: Python Comparison Breakdown

Posted by AJ Kerrigan on Sun 27 October 2019 in Concepts • Tagged with guest, learning, dis, precedence, chaining • 5 min read

Use Python's "dis" module to see how Python evaluates two similar comparison operations.


Continue reading

PyCon ES 2019 Alicante Highlights

Posted by Bob on Wed 09 October 2019 in PyCon • Tagged with pycon, conference, learning, django, community, katas, marvel, coffee, rasa, chatbots, IoT, data artist, data visualization, pycamp, opensource, hacktoberfest, astronomy • 6 min read

Last weekend it was Pycon time again, my 6th one so far. This time closer to home: Alicante. I had an awesome time, meeting a lot of nice people, watching interesting talks and getting inspired overall to keep learning more Python. In this post I share 10 highlights, but keep in mind this is a selection only, there are quite a few more talks I want to check out once they appear on Youtube ...


Continue reading

Linting with Flake8

Posted by Julian on Tue 08 October 2019 in Concepts • Tagged with python, beginner, learning, examples, code, linking, flake8 • 6 min read

What the heck is linting? Let's dive into the concept and talk about how flake8 can help us make our code better.


Continue reading

Code Challenge 64 - PyCon ES 2019 Marvel Challenge

Posted by PyBites on Fri 04 October 2019 in Challenge • Tagged with code challenge, challenges, data analysis, pycon, Marvel, data visualization, story telling, hacktoberfest • 3 min read

Hey Pythonistas, this weekend is Pycon ES and in the unlikely event you get bored, you can always do some coding with PyBites. Two more good reasons to do so: 1. there are prizes / giveaways, 2. your PRs count towards Hacktoberfest (t-shirt). Fire up your editors and let's get coding!


Continue reading

How I Followed my Heart, Conquered Fear and Became a Public Speaker

Posted by Mridu Bhatnagar on Wed 04 September 2019 in Learning • Tagged with public speaking, meetups, community, imposter syndrome, talks, soft skills • 6 min read

In this guest post Mridu shares with us how she got into public speaking, conquering fear and imposter syndrome. What did she learn? And what does she recommend for people starting out? Let's hear from Mridu!


Continue reading

How to Cleanup S3 Objects and Unittest it

Posted by Giuseppe Cunsolo on Mon 02 September 2019 in Testing • Tagged with AWS, S3, freezegun, moto, boto3, testing, APIs, paginator, mock • 2 min read

In this guest post Giuseppe shares what he learned having to cleanup a large number of objects in an S3 bucket. He introduces us to some boto3 as well as moto and freezegun he used to test his code. Enter Giuseppe ...


Continue reading

Code Challenge 63 - Automatically Generate Blog Featured Images

Posted by PyBites on Mon 02 September 2019 in Challenge • Tagged with code challenge, challenges, web scraping, images, selenium, automation, material design, file handling, zipfile • 3 min read

Hey Pythonistas, in this new blog code challenge you are going to use selenium to automatically generate some cool featured images for PyBites. Have fun!


Continue reading