How to use the sys module in Python

Motivation Sometimes you need information about your system e.g. which Python version your program is running on. Enter the sys module Import import sys How to find the currently active Python interpreter current_interpreter = sys.executable assert current_interpreter == “/Users/jb/PycharmProjects/blog_content_creatronix/venv311/bin/python” How find out about your Python version sys.version assert sys.version == “3.11.0rc1 (v3.11.0rc1:41cb07120b, Aug 5 2022,…

Der neue Softwerker ist da (Vol. 21)

Der Softwerker Der Softwerker ist ein deutsches Fachmagazin für Entwickler und Softwarearchitekten Man kann das Magazin kostenlos abonnieren und bekommt es dann entweder digital oder per Post geschickt. Der Softwerker erscheint 2 bis 3 mal jährlich. Inhalt Ausgabe 21 Diese Ausgabe hat 122 Seiten! Steffen Oehme – Working Software is not the Primary Measure of…