Browse by Topic

Popular

Latest

Latest Posts

Illustration of a clipboard with a Python code snippet and a copy-paste arrow, representing the Pyperclip library.
Python

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.

pyperclipclipboardpythoncross-platform
Python code with a QR code and barcode being decoded into text, representing pyzbar's decode function.
Python

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.

pyzbarQR code decodingbarcode decodingZBar wrapper
Code128 and EAN13 barcode examples generated in Python with the python-barcode library.
Python

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.

barcodecode128ean13python-barcode
A QR code with a centered logo, surrounded by error correction modules, illustrating the balance between logo placement and scannability.
Python

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.

QR codePythonPillowerror correction
Python QR code generation with custom size and color settings displayed on a developer workstation.
Python

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...

qrcodepythonpillowimage-generation
Diagram showing a PowerPoint slide with a bar chart and formatting controls in python-pptx
Python

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-pptxPowerPoint chartschart formattingslide layout
A slide with a text box, an image, and a table being assembled from code, representing python-pptx automation.
Python

python-pptx: Adding Text, Images, and Tables to Slides

python python pptx slides text images and tables: Learn how to use python-pptx to programmatically create PowerPoint slides with text boxes, images, and tables, includ...

python-pptxPowerPoint automationpresentation generationslide creation
Python code generating a PowerPoint slide with text and shapes, illustrating automated presentation creation
Python

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-pptxPowerPoint automationslide generationoffice automation
Python code editing a Word document with headers, footers, and margin settings
Python

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-docxWord documentsdocument generationheaders and footers
A python-docx generated Word document showing an image, styled text, and formatted paragraphs.
Python

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.

python-docxdocxword-processingimages