A step-by-step guide to create a Blog from scratch with Python and Django.

Photo by Kaitlyn Baker on Unsplash

Creating a personalized blog site from scratch is simpler than it seems. Especially when using specific frameworks which provide built-in features that are ready to use. Django is an awesome framework for such cases.

Creating a Django app

In this tutorial, all the necessary steps to follow for developing and maintaining the site are covered and briefly explained in the right order.

Assuming that Python3 is already installed, create a directory as a starting point:

# create a dir
mkdir djangoblog
# navigate to dir
cd djangoblog

Creating a virtual environment is super simple. Try the command below:

# python3 -m venv <name>
python3 -m…

How to define finite state machines for models using Django

Photo by Dušan Veverkolog on Unsplash

In software engineering, we often need to design a model of our application’s behavior. Finite state machines represent a design pattern that is widely used for this topic.

Before jumping into any example or piece of code, let’s explain what does a finite state machine mean.

A finite state machine is simply a model of computation to simulate a sequential logic. The model which we define the finite state machines for, can be in exactly one of the finite number of states at a time.

The state (or status) can change from one to another in response to some external…

The Docker ecosystem and how to start with it

Photo by Jacob Meissner on Unsplash

Let’s start with the famous phrase “based on a true story”.

Working in a startup is messy. Lots of requirements, new features all the time, new tools and technologies to deal with. This means that you’re adding more complexity to your project.

The harder it is to set up your project, the worse for you and your colleagues. As my dear colleague would say: “If we cannot start the project with one command, we’re in trouble”.

As developers with the same KISS (Keep It Simple, Stupid) principle, we want to simplify our current setup. …

An overview of Data Science with Python from scratch

Data Science explained with a Venn Diagram [1]

Data Science is a field that includes data cleansing, preparation and analysis. It is a combination between statistics, mathematics, programming and problem-solving. Machine Learning and Artificial Intelligence are often incorporated when working in this area. Please refer to the picture shown above in order to understand better about what Data Science consists of!

Did you know? Harvard calls “Data Scientist” as the sexiest job of the 21st century! (Check here.)

As a Data Scientist, you work with structured and unstructured data. You determine whether the data sets are correct and accurate to use for further processes. Working with data sets…

A brief introduction to Python programming for beginners.

Photo by Unsplash on Unsplash

Besides being a family of nonvenomous snakes, Python is also a high-level scripting/programming language. It was created by Guido van Rossum and released in 1991. It is widely used from developers for different purposes.

Why do developers choose to work with Python?

The best thing about Python is that you can get things done with less code comparing to other languages. It has a very simple syntax, and runs on an interpreter system, meaning that code can be executed as soon as it is written. It can be treated in an object-oriented way and functional way. …

Besmire Thaqi

An experienced Software Engineer. Based in Munich & working with Python.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store