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!

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

Twitter Digest 2017 Week 45

Posted by PyBites on Sun 12 November 2017 in Digest • Tagged with twitter, news, tips, python, Asyncio, tutorials, Machine Learning, HTTP, SQL, Keras, Deep Learning, Tensorflow, data mapping, JSON, Scitkit, Pillow, data visualisation, SciPy • 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

Twitter digest 2017 week 34

Posted by PyBites on Sun 27 August 2017 in Digest • Tagged with twitter, news, tips, python, pybites, APIs, regex, Jupyter, OpenCV, Pillow, SunPy, collections, open source, training, learning, CSV, Data Analysis, Python, Podcast, Spacing • 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

Fully Automate Login and Banner Generation with Selenium, Requests and Click

Posted by Bob on Sun 20 August 2017 in Modules • Tagged with Selenium, Requests, selenium-requests, Click, Pillow, automation, scraping, tools, PyBites Banner Generator, images • 3 min read

In part 3 of the PyBites Banner Generator article series I show you how to automatically generate a banner with Requests and Selenium.


Continue reading

Making a Banner Generator With Pillow and Flask

Posted by Bob on Sat 19 August 2017 in Tools • Tagged with Pillow, Flask, Heroku, Flask-WTF, Flask-SQLAlchemy, challenges, PyBites Banner Generator, images • 4 min read

In this article I will take last week's banner.py Pillow script and integrate it into a Flask app.


Continue reading

Code Challenge 31 - Image Manipulation With Pillow - Review

Posted by PyBites on Mon 14 August 2017 in Challenges • Tagged with codechallenges, images, Pillow, Flask, newquote, utilities, OpenCV, Anaconda, conda, face recognition, Thumbler, thumbnails • 1 min read

In this article we review last week's Image Manipulation With Pillow code challenge. Some nice submissions to share ...


Continue reading

Using Pillow to Create Nice Banners For Your Site

Posted by Bob on Fri 11 August 2017 in Modules • Tagged with Pillow, images, utilities, pybites, curl, refactoring, challenges, PyBites Banner Generator • 4 min read

Running your site or business good chance you A. use promo material like banners and B. you make them manually with Photoshop, Gimp or what not. And yes for anything beyond the basics you probably need those programs. But what if you like to keep it simple and want to semi-automate things? Just an image and text on canvas? Enter Pillow - The friendly PIL fork, which makes this pretty easy. Come explore some of its capabilities with me in this article.


Continue reading

Code Challenge 31 - Image Manipulation With Pillow

Posted by PyBites on Tue 08 August 2017 in Challenges • Tagged with codechallenges, images, Pillow, Flask, newquote, utilities • 2 min read

Hi Pythonistas, a new week, a new 'bite' of Python coding. Let's shift gears a little bit: this week we have you choose an image manipulation task using Pillow, "the friendly PIL (Python Imaging Library) fork". Have fun!


Continue reading

Twitter digest 2017 week 16

Posted by PyBites on Sun 23 April 2017 in Digest • Tagged with twitter, news, tips, python, aws, pillow, passwords, books, folium, sql, automation, machine learning, tensorflow, podcasts, data science • 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