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!

PyBites Twitter Digest - Issue 02, 2019

Posted by PyBites on Sun 24 February 2019 in Digest • Tagged with twitter, news, pybites, editors, Keras, deep learning, PyCharm, adafruit, digi-key, PSF, React, AI, machine learning, pypass, Git, PyCascades, VS Code, Selenium, Heroku, 3.8, unittest, Flask • 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 30, 2018

Posted by PyBites on Sun 23 September 2018 in Digest • Tagged with twitter, news, pybites, pycon, videos, HTTP, OSI Model, coverage, podcast, testing, AI, music, PyTheory, Super Mario Bros, games, unittest, tricks, tips, matplotlib, cryptocurrency, deep learning, Keras, TensorFlow, OpenCV, OCR, machine learning • 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 39 - Writing Tests With Pytest

Posted by PyBites on Thu 05 October 2017 in Challenge • Tagged with pytest, testing, unittest, fixtures, BetterCodeHub, pytest-cov, CI, opensource, Hacktoberfest, TalkPython • 2 min read

Hi Pythonistas, let's add some more challenges for October. Following our Python testing with pytest book review we let you write some tests with this awesome framework.


Continue reading

Python Testing With Pytest

Posted by Bob on Mon 25 September 2017 in Books • Tagged with pytest, testing, books, tox, Jenkins, fixtures, unittest, q&a • 3 min read

Review of Brian Okken's new pytest book.


Continue reading

Parsing Twitter Geo Data and Mocking API Calls by Example

Posted by Bob on Sat 17 June 2017 in Testing • Tagged with twitter, API, mock, geo, data, unittest, pickle, tweepy, testing, 100days • 2 min read

"Is this Bob or Julian?!" ... yeah tweeting from our shared @pybites Twitter account can be confusing! So I made a little script to parse the location of our tweets. Then I extended it to make it testable. I wrote a decorator to cache a couple of API outputs to be used with the unittest.mock patch decorator I learned about. A simple script turned into a good learning exercise.


Continue reading

Twitter digest 2017 week 18

Posted by PyBites on Sun 07 May 2017 in Digest • Tagged with twitter, news, tips, python, word cloud, 100days, algorithms, beginner, machine learning, tutorial, unittest, jupyter, twilio, aws, raspberry pi, xml, learning • 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

How To Build a Simple API with Flask and Unit Test it

Posted by Bob on Fri 03 March 2017 in Flask • Tagged with APIs, Flask, REST, curl, testing, unittest, inventory • 3 min read

In this post I will create a simple API with Flask and test it with curl and unit testing its HTTP methods.


Continue reading