Durchsuchen nach
Schlagwort: Python

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

Python: To generate a qrcode

Python: To generate a qrcode

There are a lot of options where you can generate a qrcode. What is a QRcode? The QRcode is the little black-white box where you can save data. In most cases, this is the URL of a website. What is the URL? The URL identifies and locates a resource on the Internet or on a local network (e.g. a web page, an image, a file or an email address). What is Python? Python is a programming language. In the meanwhile,…

Weiterlesen Weiterlesen

To add a Python script as a shortcut in the Bash

To add a Python script as a shortcut in the Bash

Linux Bash 5.2.32(1): I have created a Python (version 3.13.7) script in order to shut down my pc. I don’t want to click on the graphic menu in the Gnome (47.9 my version). This is the script in order to shut down the pc: The script checked first the current time and second whether pip has something in the cache, when I had updated some packages. I have saved into many subfolders in my file system Linux_PC/Programmieren/Python/Python_eigene_Scripte/herunterfahren_system.py with the command…

Weiterlesen Weiterlesen