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!

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

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

Why Python is Great for Test Automation

Posted by Andrew Knight on Wed 25 July 2018 in Testing • Tagged with guest, test, testing, automation, tdd, selenium, pytest, IDE • 5 min read

Testing in Python is consistently growing in popularity. In this article our friend Andrew Knight from Automation Panda walks through 10 reasons why Python is great for Test Automation.


Continue reading

Why Python is so popular in Devops?

Posted by Rhys Powell on Mon 25 June 2018 in DevOps • Tagged with guest, devops, deployment, scripting, netaddr, data visualization, sysadmin, automation • 3 min read

Along with the growth of Python for developers in the machine learning and data science space, Python is also a growing language for devops / in the ops tooling side. In this article Rhys will explain why that is ...


Continue reading

Code Challenge 46 - Add Continuous Integration (CI) to Your Project

Posted by PyBites on Mon 11 December 2017 in Challenge • Tagged with CI, Jenkins, Heroku, Travis, Semaphore, automation, deployment, Docker, Better Code Hub, SIG • 3 min read

Hi Pythonistas, becoming a Python developer is partly about knowing your tools. Managing your environment, testing and continuous integration are unmissable skills when you start working on bigger projects with a team. So we decided to dedicate a code challenge to deployment. Take an existing projects or make a demo app from scratch, the goal is to build an automated pipeline. Will you be the next guy or girl at work receiving kudos for setting up a Jenkins server? Have fun!


Continue reading

Twitter Digest 2017 Week 42

Posted by PyBites on Sun 22 October 2017 in Digest • Tagged with twitter, news, tips, python, automation, pandas, GitHub, data visualisation, Flask, Django, tutorial, AWS Lambda, counter, PyGotham, videos, Jupyter, Computer Science, Regex • 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 37 - Automate a Task With Twilio - Review

Posted by PyBites on Tue 03 October 2017 in Challenges • Tagged with Twilio, API, apis, sms, notifications, birthdays, automation • 1 min read

In this article we review last week's Automate a Task With Twilio code challenge.


Continue reading

Code Challenge 36 - Create an AWS Lambda Function - Review

Posted by PyBites on Tue 03 October 2017 in Challenges • Tagged with codechallenges, AWS, lambda, lambda function, guest, automation, microservices • 1 min read

In this article we review last week's Create an AWS Lambda Function code challenge.


Continue reading

Code Challenge 37 - Automate a Task With Twilio

Posted by PyBites on Mon 25 September 2017 in Challenge • Tagged with Twilio, API, apis, sms, notifications, birthdays, automation • 1 min read

Hi Pythonistas, this week we got a really cool challenge for you. Our Never Forget A Friend’s Birthday with Python, Flask and Twilio article got released on Twilio's blog and we thought it would be awesome to have you code up the next Twilio app. Join our challenge and if you build something serious you could even pitch it to Twilio!


Continue reading

How to Learn Python

Posted by PyBites on Sat 16 September 2017 in Special • Tagged with python, learning, story, books, resources, special, learn-by-doing, inspiration, pybites, blogging, GitHub, Flask, 100DaysOfCode, automation, career, development, pythonistas, freeCodeCamp, howto, zen, software, code quality, programming • 7 min read

Python is a mature language, easy to learn and here to stay. But where to start? We see a lot of new Pythonistas posting questions like: How to learn Python?, Where do I start?, What approach to take?. We were there once too. Now with 9 months of PyBites and 200 articles under our belt, we share how we learned Python.


Continue reading