This article collects several practical Python tips for daily coding, including dictionary and set comprehensions, Counter, pretty JSON output, and a lightweight XML-RPC example.……
This article explains Python process pools, thread pools, and coroutines from a practical concurrency angle, with examples of synchronous calls, asynchronous calls, and callback usage.……
This article summarizes common zipfile usage in Python, including how to read ZIP archives, inspect ZipInfo, extract files, write archives, and build ZIP files in memory.……
This article summarizes common Python 3 print() usage, including basic output, old-style formatting examples, floating-point formatting, and output control with end and sep.……
This tutorial uses Gaokao exam data to build bar charts, line charts, and a China map with Python, giving a practical starter workflow for charts and pyecharts.……
This article shows how Python map combined with thread or process pools can make simple parallelism much lighter for everyday scripts, especially with multiprocessing.dummy for IO-bound work.……
This article shows how to terminate a specific GNU Screen session from outside the session and clarifies the difference between detaching from a session and actually ending it.……
This guide shows how to fix yum update -y when Linux reports rpmdb open failed or runs out of disk space, including rebuilding the RPM database and cleaning old kernels.……
This article explains the conversion rule between ordinary URLs and thunder:// Xunlei links, and gives both Python and JavaScript examples for encoding and decoding.……
This article introduces how Numba can speed up Python code with JIT compilation and gives a practical overview of where @jit, @njit, @vectorize, and GPU-related features are most useful.……