Create a Virtual Environment in Python

Introduction What does a virtual development environment do? It isolates different Python versions and their package installations from each other. Once set up for a Python project, this means that the packages used are only available to this project. Updating one of these packages does not affect other packages installed on the system. In addition, …

Read more

How to Fetch Hacker News from news.ycombinator.com?

Some time ago I familiarized myself with the topic of web scraping. As a programming language, the decision quickly falls on Python, since there are good libraries available for this task. When dealing with a new topic, it is not a bad idea to do so creating a self-developed program. The result is: fetch-hackernews. As …

Read more

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