imho it’s recommended to solve things without 3rd party packages (which might possible be neglected (no more security updates) or even hijacked after some time) it is sometimes agreed upon to extend python’s capabilities with 3rd party packages like psutil […]
print(message := “Hello, world!”) This uses the walrus operator (u know because it looks like a walrus face X-D) (:=) which was introduced in Python 3.8. It assigns the value to the variable while printing it. WARNING ONLY AVAILABLE INPYTHON […]
hostnamectl; # tested on Static hostname: debian12DevPython Operating System: Debian GNU/Linux 12 (bookworm) Kernel: Linux 6.1.0-20-amd64 Architecture: x86-64 python –version Python 3.11.2; # tested on vim run_script_in_external_terminal.py #!/usr/bin/env python import subprocess process = subprocess.Popen(‘/usr/bin/mate-terminal -e /run/some/script.sh’.split(), stdout=subprocess.PIPE) output, error = […]
WORK IN PROGRESS!!! quick answers: PHP + Python are both great languages PHP performs FASTER on the benchmark game than Python but Python performs FASTER on marix multiplications file performance wise they should also be equal X-D yes virtualization will […]