The structure of a Python project

‎A Python project may initially consist of only one or two files. In this case, you don’t have to worry about a project structure. But the situation is different if the program grows. In addition to the actual Python code files, documentation could also be added at some point. And as a rule, the tests … Read more

Data structures in Python – Linked List

After queues and stacks, the third article on data structures deals with linked lists. This data structure has nodes that are connected to each other. Each node has a value and a pointer. The following figure shows a singly linked list where each node has only one pointer pointing to the next node. The first … Read more

imessage-reader updated to version 0.6.1

An updated version of the Python program imessage-reader is available on PyPI (Python Package Index). The new version can be installed via pip: Windows users will have to be patient. The imessage-reader can be installed, but an error message appears indicating that the operating system is not yet supported: However, this will change in the … Read more

Data Structures in Python — Stacks

In the first part of this tutorial series on data structures in Python, queues were explained. Stacks follow in the second part. A stack is also a data structure that is similar to the list. But there is a significant difference: There are several rules that dictate how items must be added or removed. New … Read more

Data structures in Python — Queues

A queue is a data structure similar to a list. However, the functionality is of a limited nature, because a queue is characterized by the fact that the FIFO principle (First In, First Out) applies here. This means that the first item added to a queue is the first item removed. Adding data is called … Read more