Durchsuchen nach
Kategorie: Python

Python ist eine Programmiersprache, die bei den allermeisten Linux-Distributionen bei der Installation des Betriebssystems vorhanden ist. Sie ist einfach zu erlernen und erweiterbar durch viele Module, die man sich installieren kann.

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

How to determine the folder in a directory – size

How to determine the folder in a directory – size

It is a Python script for a Linux operating system: The results are (yes the folders haven the German language, because I live in Germany, and I’m German – sorry for that) Größen der Unterverzeichnisse in /home/sven/Musik 1980-1989: 6,8GMusikvideo: 12M1970-1979: 3,2Gsonstige_Musik: 6,7G1990-1999: 121MPodcast: 5,8G1960-1969: 2,7GWeihnachten: 921M2000-2009: 8,5G2010-2019: 1,7GHörbücher: 92MKlassik: 1,5GMusikalben: 3,5Gerster_Versuch: 136K1950-1959: 95M

Pip could not update the module torch

Pip could not update the module torch

This morning, I tried to update my Python packages with the command: pip3 list -o –format columns| cut -d‘ ‚ -f1|xargs -n1 pip install -U but I could not update the module torch. Here are the messages: Downloading torch-2.8.0-cp313-cp313-manylinux_2_28_x86_64.whl (887.9 MB)    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 887.9/887.9 MB 6.7 MB/s  0:01:24 Downloading nvidia_cublas_cu12-12.8.4.1-py3-none-manylinux_2_27_x86_64.whl (594.3 MB)    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 594.3/594.3 MB 9.3 MB/s  0:00:54 Downloading nvidia_cuda_cupti_cu12-12.8.90-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (10.2 MB)    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 10.2/10.2 MB 6.7 MB/s  0:00:01 Downloading nvidia_cuda_nvrtc_cu12-12.8.93-py3-none-manylinux2010_x86_64.manylinux_2_12_x86_64.whl (88.0 MB)    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 88.0/88.0 MB 9.5 MB/s …

Weiterlesen Weiterlesen