Author name: Joe

Python – if else statement

Introduction Do you need to execute a code only under specific conditions?Python if else statements are what you are looking for! This post is about simple if, if else, and if elif else.These are fundamental constructs in Python and in all other programming languages so it is important to understand them well. Logical conditions Before …

Python – if else statement Read More »

Python Hello World

Introduction This post will show you how to run the storical “Hello World” program in Python. For the uninitiated, the Hello World program has the purpose of printing the “Hello World” string on the screen. Usually this program is the first step in learning a new programming language. I leave you this interesting article for …

Python Hello World Read More »

Python virtual environment

Introduction A virtual environment (or venv) is an isolated python environment in which you can use a specific Python version and install packages. At this point you may ask: Why should I create a virtualenv since I can already install everything I need? Imagine running several projects and maybe each of them requires a different …

Python virtual environment Read More »

django select_related

Introduction The Django select_related method allows you to speed up your querysets and therefore your application.In this post, I’ll show you how you can minimize database accesses and thus maximize the speed of your Django app. To learn how to use the select_related method we will see a very clear example. We will start from …

django select_related Read More »