alt text

Blog

How to write clean code

A Python programme that contains all of its code in a single script with thousands of lines, a long code snippet being repeated dozens of times throughout the source code, super elegant code that accomplishes miracles in just a few symbols (and might as well be black magic),
functions that contain a ton of different actions under the most generic names – we all encounter at least some of these on a regular basis in code of our colleagues or in our own.

Why those points are issues might be obvious to many of you, but lets reiterate the problems here:

mehr lesen

Random Numbers in Python

Step into the world of random numbers in Python, where chance and unpredictability reign supreme. From generating pseudo-random numbers to exploring true randomness with random.org, delving into the captivating realm of Gaussian random and uniform random, and harnessing the power of secrets library and UUID values.

mehr lesen