Python
Shell Out Safely: A Practical Deep Dive into Python's subprocess
Learn to run external commands from Python the right way: subprocess.run, capturing output, timeouts, error handling, piping input, and avoiding the shell-injection trap.
Delve into the realm of automation in software development and operations, exploring tools, scripts, and systems designed to automate repetitive tasks, from code linting and testing to infrastructure provisioning. This tag provides insights into leveraging automation for more efficient, error-free, and scalable software development processes.
Python
Learn to run external commands from Python the right way: subprocess.run, capturing output, timeouts, error handling, piping input, and avoiding the shell-injection trap.
Python
Learn to run external commands from Python the safe, modern way: subprocess.run(), capturing output, timeouts, pipes with Popen, streaming output, and how to avoid shell-injection pitfalls.
Python
Learn how to run external commands from Python the right way: subprocess.run() essentials, capturing output, handling errors and timeouts, streaming with Popen, building pipelines, and avoiding the shell=True injection trap.
Python
A hands-on guide to creating, styling, and batch-generating QR codes in Python with the qrcode library — from a one-liner to production-ready output.
Python
Learn how to turn a Python script into a polished command-line tool with argparse — positional and optional arguments, types and validation, flags, subcommands, and the pitfalls that trip people up.
Python
QR codes are everywhere – learn how to decode them in just a few lines of Python using pyzbar and OpenCV, from static images to a live webcam scanner.
Tutorials
Unlock continuous integration prowess by automating your Docker builds with GitHub Actions, streamlining your deployment process effortlessly.