Python add data into a JSON file
Here is a little script that create a dictionary (a type of array) in Python and this dictionary creates a JSON-file. This JSON file you can use for example for Python Pandas.
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.
Here is a little script that create a dictionary (a type of array) in Python and this dictionary creates a JSON-file. This JSON file you can use for example for Python Pandas.
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,…
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
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 …