All syntax guides
Short, practical guides on programming syntax, language fundamentals, and the tools developers reach for every day.
3,965 guides across 14 topics
Topics
Popular guides
Most readLatest guides
Page 38 of 397Python Pynput: Keyboard and Mouse Listeners and Hotkeys
python pynput keyboard mouse listeners and hotkeys: Learn how to capture global keyboard and mouse input with pynput, define hotkeys, suppress events, and handle platf...
Python Pyperclip: Clipboard Copy and Paste Made Easy
Learn how to use Pyperclip for cross-platform clipboard copy and paste in Python, including installation, text handling, common pitfalls, and performance considerations.
Decode QR Codes and Barcodes with Python pyzbar
Use the pyzbar Python wrapper around ZBar to decode QR codes and barcodes from images. Covers installation, image preprocessing, handling multiple codes, and common failure modes.
Generate Code128 and EAN13 Barcodes in Python
Learn how to generate Code128 and EAN13 barcodes in Python with python-barcode, including code examples, writer options, and guidance for choosing between the two symbologies.
Adding a Logo to a QR Code in Python: Error Correction and Pillow
Add a logo to a Python-generated QR code while keeping it scannable. Learn which error correction level to choose and how to paste a transparent logo with Pillow.
Python QR Code: Generate with Custom Size and Colors
python qrcode generate qr codes with custom size and colors: Learn how to generate QR codes in Python with custom size and colors using the qrcode library. Control dim...
python-pptx Charts Layouts and Formatting
Add charts to PowerPoint slides with python-pptx, control their position and size, and format titles, axes, series, and colors for a polished result.
python-pptx: Adding Text, Images, and Tables to Slides
Use python-pptx to generate PowerPoint slides from Python: add slide layouts, text boxes, images, tables, and control slide dimensions.
Create PowerPoint Presentations with Python and python-pptx
Learn how to create PowerPoint presentations programmatically with python-pptx: add slides, text, shapes, images, and tables, then save editable .pptx files.
Python-Docx: Headers, Footers, and Margins
Learn to control headers, footers, and margins in .docx files with python-docx, including section-specific layouts and different first-page settings.