Introduction to the Python Debugger Tool

In this video demonstration, I’ll show you how to get started with the Python Debugger tool.

The Python Debugger (PDB) is an incredibly useful tool which can save you hours when writing Python applications.

This tool has replaced my former debugging process – which was laborious and not at all efficient. I use it whenever I’m debugging my code or troubleshooting issues.

Here are the links you’ll need to follow along:

demo-json-printer project: https://github.com/LondonAppDev/demo-json-printer

Python Debugger Official Docs: https://docs.python.org/3/library/pdb.html

Install and configure PyEnv on Linux

PyEnv is a great tool for installing and switching between different versions of Python, which is particularly helpful if you’re working on multiple projects or for multiple companies that use different versions of Python. In this video, I’ll show you how to install and configure PyEnv on Linux, but these steps should also work on Mac.

PyEnv Homepage: https://github.com/pyenv/pyenv

PyEnv Installer: https://github.com/pyenv/pyenv-installer

Subscribe to my Youtube channel to get my latest full-stack tutorials every week.

Create a local development server for Python apps

In this tutorial I’m going to show you how to make a local development server for your Python applications using Vagrant, VirtualBox, Salt and Python3.

Creating a local development server on your machine is crucial to coding quickly and efficiently. It’s faster, more portable, and you don’t have to rely on an internet connection for it to work. It’s also pretty easy to set up. I’ll show you how in this video…

How to Build an App Part 2 of 3: Creating the back-end with Django REST Framework

Welcome to part 2 of 3 of my How to Build an App tutorial. In the first part, I explained how to create the back-end server which we will use to host our app’s back-end (if you didn’t get a chance to read it, you can check it out here). In this second part, I will explain exactly how to build the back-end itself.

If you’re loving this tutorial, then maybe you’ll like my course: How To Build A Backend with Python & Django REST Framework on Udemy!
Read more

How to Build an App Part 1 of 3: Setting up the Development Server with Vagrant, Ubuntu and Salt (Mac OS X Version)

Using Windows? Click here to view the Windows version of this walk-through.

After my previous post, Android Development for Beginners: 6 Steps to Building Your First App, I received some requests asking me to explain in more detail how to build an app, step-by-step. If you have any experience buildings apps you will know that it can be a complicated process and there are a number of different components that need to work together to have a fully functioning app. This includes creating a database, a REST API and the app front end.

Read more

How to Build an App Part 1 of 3: Setting up the Development Server with Vagrant, Ubuntu and Salt

Using a Mac? Click here to view the Mac OS X version of this walk-through.

After my previous post, Android Development for Beginners: 6 Steps to Building Your First App, I received some requests asking me to explain in more detail how to build an app, step-by-step. If you have any experience buildings apps you will know that it can be a complicated process and there are a number of different components that need to work together to have a fully functioning app. This includes creating a database, a REST API and the app front end.

Read more

Virtualenv with Eclipse with PyDev on Windows 10

This article will explain how to install virtualenv and create a new Python Project in eclipse which uses a custom virtual environment. There is also a little Hello World style example at the end!

This article assumes that you have Python, Eclipse and the PyDev plugin installed on your machine. If you need to know how to do this, please see my previous post: Setting up your Windows 10 System for Python Development (PyDev, Eclipse, Python).

In the current public version of Python, there is a bug in one of the packages which will display the following error message if you try to install any packages using pip:


Fatal error in launcher: Job information querying failed

This bug has been fixed in the current dev release but still exists in the production version at the time of writing this article. If you want to learn more about the status of this, you can track it via this ticket: http://bugs.python.org/issue24127.

Read more

Setting up your Windows 10 System for Python Development (PyDev, Eclipse, Python)

In this article I’ll explain how you can set-up your Windows 10 machine for some extreme Python development.

Read more