Data science: Python statistic module

Data science: Python statistic module

In the in-build modules, Python has its own statistic module. You don’t need to install it. You can calculate your for example the mean and median. What is the mean? In mathematics and statistics, the arithmetic mean, arithmetic average, or just the mean or average is the sum of a collection of numbers divided by the count of numbers in the collection. The collection is often a set of results from an experiment, an observational study, or a survey. The…

Weiterlesen Weiterlesen

Linux Bash: Shutdown script

Linux Bash: Shutdown script

In one of my previous blog entry I have presented a start script, but this was not my favourite. I have changed into a shutdown script because I think it is more useful. After a reboot or shutdown, you have en empty free home directory from PDF files. I directly save the PDF files into the home directory $Home. The new thing is the system will ask you whether you want to reboot or shutdown the system. If you don’t…

Weiterlesen Weiterlesen

Python: To generate a qrcode – UPDATE

Python: To generate a qrcode – UPDATE

I have updated my little Python script from 29.09.2025. Updates: The modules pathlip and os were imported. Clear the screen (def clear screen). I think that it is better to have a clear screen as you the script begins in the middle of the monitor. The clear command is for Windows and Linux, Unix and BSD (Berkley Software Distribution like FreeBSD, OpenBSD, NetBSD etc.). User input – the user can now add directly an own file name User input –…

Weiterlesen Weiterlesen