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 62 - Women @ Pycon ES

Posted by PyBites on Fri 12 July 2019 in Challenge • Tagged with code challenge, challenges, web scraping, data analysis, pycon, API, Python Alicante, PyDay, community • 3 min read

Hey Pythonistas, in this special live Alicante PyDay challenge you will analyze Pycon speaker data, do we see more women going on stage? Enjoy!


Continue reading

Watermarking photos? "I can do that in Python!"

Posted by Anthony Lister on Mon 24 June 2019 in Concepts • Tagged with pillow, images, png, jpg, resize, watermarking, image manipulation, PIL • 15 min read

My wife is setting up a business from home and wanted to protect photos of her work submitted to social media sites and the web in general. "I can do that using Python!", I exclaimed, thinking I had seen a tutorial showing how ages ago. Laptop open, I set to work and found my bookmarked tutorial. It was using OpenCV2 and even after ~70 odd days of my #100DaysOfCode journey, I didn't really understand it well enough to configure it myself if I had to make changes. (OpenCV is on my list of things to do after my #100Days). I remembered reading about Pillow, or PIL as it is sometimes known, and started to read the docs for it. Challenge to myself accepted!


Continue reading

The First Step in Contributing to Open Source Projects

Posted by Marc Falzon on Thu 20 June 2019 in Learning • Tagged with guest, learning, open source • 4 min read

Have you ever wanted to contribute to open source but weren't sure how to get started? Marc found himself in just that situation. Sometimes it all comes down to taking that first step.


Continue reading

Why whiteboard interviews suck and what we’re doing about it.

Posted by Julian on Wed 05 June 2019 in CodeChallenges • Tagged with CodeChallenges, platform, whiteboard interviews, exercises, recruiting, recruitment • 5 min read

Whiteboard Interviews are a thing of a past. Introducing the CodeChallenges Recruiting Tier. Time to interview for programming roles the right way.


Continue reading

How to Create and Serve Zipfiles from Django

Posted by Bob on Wed 08 May 2019 in Django • Tagged with Django, zipfile, snippets, archive, response, request, admin, DB, sqlite3, migrations, virtualenv • 6 min read

We added support to our platfom for bulk downloading of all your code submissions. This feature required creating and serving up zipfiles through Django. In this article I show you how to do it creating a simple Django app collecting code snippets through the admin interface, and serving them up in a zipfile via a download endpoint. Let's dive straight in ...


Continue reading

PyBites Twitter Digest - Issue 04, 2019

Posted by PyBites on Sun 07 April 2019 in Digest • Tagged with twitter, news, pybites, vs code, podcast, pycon, django, raspberry pi, computer vision, Flask, data science, resources, vim • 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

Building a Python Tips API with Django REST Framework and Deploying it to Digital Ocean

Posted by Bob on Tue 05 March 2019 in Django • Tagged with Django, APIs, Django REST Framework, tips, Digital Ocean, Django Commands, Postman, Nginx, postgres, Gunicorn, BeautifulSoup, requests, curl, SSH, Linux, deployment • 15 min read

In this article I will show you how to build a simple API for our growing collection of Python tips. First we make a simple Django app, defining the model. Next we use Django REST Framework to make an API supporting common CRUD operations. Then we will test it out using curl, Postman and Django REST's browser front-end. Lastly we deploy the API to Digital Ocean so we can start using it via our Slack with a Slash Command, which I will cover in the next article. Sounds exciting? You bet it is! Let's jump straight in!


Continue reading

PyBites Twitter Digest - Issue 03, 2019

Posted by PyBites on Sun 03 March 2019 in Digest • Tagged with twitter, news, pybites, emacs, scraping, security, LEDs, hardware, lazynlp, facial detection, Cython, PSF, OpenCV, Computer Vision, deep learning, Pandas, SQLAlchemy, regex, mypy, mutmut • 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

Generating Beautiful Code Snippets with Carbon and Selenium

Posted by Bob on Tue 26 February 2019 in Tools • Tagged with Selenium, BeautifulSoup, requests, collections, random, urllib, carbon, tips, pprint, automation • 7 min read

Did you notice our Python tips lately? They looks more sexy, don't they? That's thanks to Carbon which lets you create beautiful images of your source code. As much as I love its interface though, what if we can automate this process generating the image for us? That's what we did and posting new tips to Twitter is now a breeze. In this article I will show you how using a bit of BeautifulSoup and selenium. Enjoy!


Continue reading

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