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!

Persistent Virtualenv Environment Variables with python-dotenv

Posted by Julian on Sat 06 October 2018 in packages • Tagged with Python, tips, virtualenv, virtual-environment, packages, env, learning, howto • 3 min read

In this article I'm going to show you how to declare persistent environment variables in Python Virtual Environments with python-dotenv.


Continue reading

A Python Orientation - How to Get Started

Posted by Andrew Knight on Fri 17 August 2018 in Concepts • Tagged with guest, 2vs3, CPython, PyPy, MicroPython, pip, pipenv, venv, virtualenv, Conda, editors, Pythonic, Pythonista, Zen of Python, pycon, PSF, BDFL, overview, reference • 5 min read

Python is a wonderful language for both beginners and expert programmers, but getting started can be daunting. Which version should I use? Which editors are best? What do you mean there are different implementations and environments? Here's a guide to help navigate these big FAQs.


Continue reading

A Step by Step Guide to Implementing and Deploying Two-Phase Registration in Django

Posted by Bob on Sat 05 August 2017 in Django • Tagged with Django, 100DaysOfDjango, Django-registration, Gmail, Postgres, SQLite, registration, tutorial, guide, virtualenv, learning • 11 min read

Two-phase registration, consisting of initial signup followed by a confirmation/activation email is a common piece for any web app. In this article I will guide you through setting this up in Django using the Django-registration plugin and Gmail for messaging. Then I show you how to deploy the app to Heroku.


Continue reading

5 Vim Tricks to Speed up Your Python Development

Posted by Bob on Tue 28 March 2017 in Tools • Tagged with vim, tools, shortcuts, tricks, flake8, howdoi, conque, shell, virtualenv, nerdtree, pyperclip • 4 min read

In this article 5 Vim shortcuts to speed up your Python development.


Continue reading

Automate Tweeting: how to build a Twitterbot

Posted by Bob on Thu 29 December 2016 in Tools • Tagged with twitterapi, tweepy, feedparser, rss, logging, podcasts, virtualenv, pyvenv, venv, news, 3.6 • 3 min read

In this post I will show you how we automate part of our Twitter posting using feedparser and tweepy.


Continue reading

Learning from Python mistakes

Posted by Bob on Wed 28 December 2016 in Learning • Tagged with bestpractices, pep8, virtualenv, cleancode, logging, pytest, ebook, refactoring, gotchas • 2 min read

In this post I summarize some great lessons Mike Pirnat shared in his free ebook 'How to make mistakes in Python'


Continue reading

The Beauty of Python Virtualenvs

Posted by Julian on Thu 22 December 2016 in Tools • Tagged with python, pip, virtualenv, venv • 2 min read

Python Virtualenvs are incredible yet sadly under utilised!


Continue reading

How to get PyBites up and running on your machine

Posted by Pybites on Tue 20 December 2016 in Tools • Tagged with pelican, publishing, github, pip, virtualenv, git • 1 min read

This is a short post for Julian to get this Pelican blog up and running on his system.


Continue reading