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 40 of 397Python 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.
python-docx Images, Fonts, and Formatting: A Practical Guide
Learn to insert images, set fonts, and control paragraph formatting in Word documents using python-docx. This practical guide covers core APIs, common pitfalls, styles, and compatibility considerations.
Working with Paragraphs, Headings, and Tables in python-docx
Use python-docx to add and style paragraphs, headings, and tables in Word documents. Includes practical code examples for cells, merging, and common pitfalls.
python-docx: Create, Read, and Edit Word Documents
Learn how to create, read, and edit Word documents programmatically with python-docx. Covers paragraphs, runs, styles, tables, images, headers, and footers.
Python ReportLab Multipage PDF and Custom Fonts
Generate multipage PDFs with custom fonts in Python ReportLab by registering TTF fonts, using Platypus flowables, controlling page breaks, and handling Unicode.
Python ReportLab Canvas vs Platypus
Compare ReportLab's Canvas and Platypus APIs for Python PDF generation: imperative drawing vs. automatic document flow, and how to choose the right approach for your project.