Blog - #python

Markdown guides, tutorials, and tips for developers, writers, and students.

All
python

Uppercase to Lowercase Python Methods (With Examples)

Uppercase to lowercase Python examples using lower(), plus upper(), casefold() and title(), and the Unicode and apostrophe traps they hit. Copy the code.

November 11, 2026·9 min read

Text to HTML Converter: Plain Text to Clean HTML

See what a text to HTML converter does to paragraphs, line breaks, links and special characters. Get a safe Python script, then try it free in a browser.

November 11, 2026·10 min read

CSV to JSON Format: Convert with Python, Node and Excel

Learn the CSV to JSON format: pick an output shape and type rules, then convert with Python, Node, PowerShell or Excel steps. Start converting your files.

November 11, 2026·11 min read

YAML to JSON (and Back): yq, Python and Node Commands

Convert YAML to JSON and JSON to YAML with yq, Python or Node, and see which values like NO, 1.10 and dates each parser changes. Copy the tested commands.

November 11, 2026·10 min read

ChatGPT Export: Save Chats and History as Markdown

Learn each ChatGPT export route: copy one chat to Markdown, request your full data export, and turn conversations.json into .md files. Try our free editor.

November 11, 2026·11 min read

JSON to CSV: Convert Nested JSON in Python, jq, Excel

Convert JSON to CSV with pandas, Python's csv module, jq or Excel Power Query, and pick how nested arrays flatten. Avoid quoting bugs. Try our free tools.

November 11, 2026·10 min read

Python Project Structure: src vs Flat Layout and Tests

Learn the modern Python project structure: src vs flat layout, pyproject.toml, tests and README placement, with copyable trees. Draw your tree for free.

November 11, 2026·12 min read

Count Frequency of Words: Online, Python, Excel, Shell

Count frequency of words and letters online, in Python, Excel or the shell, and learn why counters disagree. Copy tested snippets. Try our free checker.

November 11, 2026·10 min read

Python OCR: pytesseract, EasyOCR and Cloud APIs Tutorial

Learn Python OCR with pytesseract and EasyOCR: install Tesseract, preprocess images, filter by confidence and output Markdown. Copy the code and try it.

November 11, 2026·11 min read

PDF to Text: Extract Text from Any PDF for Free

Convert a PDF to text with copy and paste, Google Docs, pdftotext or Python, plus OCR for scans. Tested commands and fixes for garbled output. Try it now.

November 11, 2026·12 min read

Python Gitignore: Copy-Ready File With Every Line Explained

A copy-ready Python gitignore with each line explained, plus clear answers on venv, __pycache__, lock files and .env. Copy it and keep your repo clean.

November 11, 2026·9 min read

Snake Case: snake_case vs camelCase vs kebab-case

Learn what snake case is, when to use it over camelCase or kebab-case in Python, SQL, env vars and URLs, and what readability studies found. Try the demo.

November 11, 2026·10 min read

reStructuredText Example and Sphinx Cheat Sheet

Copy a complete reStructuredText example page, then learn Sphinx code blocks, roles, directives and docstrings, plus fixes for common warnings. Start now.

November 11, 2026·12 min read

Microsoft PDF to Markdown: MarkItDown Guide (2026)

Microsoft PDF to Markdown with MarkItDown: install it, run the CLI or Python API, see the real output, and handle scanned PDFs. Try our free PDF tool.

November 11, 2026·10 min read

reStructuredText Table: Grid, Simple, CSV and List Tables

See the source and output of every reStructuredText table form, why grid tables break, and which one to pick. Copy the examples and try our free tools.

November 11, 2026·12 min read

Sphinx Docstring Format: reST, Google and NumPy Examples

Write a Sphinx docstring with :param: and :raises: fields, or Google and NumPy style via Napoleon. Copy the conf.py and fix docstrings that won't render.

November 11, 2026·11 min read

Python Markdown: Convert Markdown to HTML in Python

Python Markdown tutorial: Python-Markdown vs markdown-it-py vs mistune on the same input, plus a full script with extensions and nh3. Try our free editor.

September 11, 2026·11 min read

Django Markdown: Render Markdown in Templates Safely

Django Markdown tutorial: build a template filter with Python-Markdown and nh3, add tables and code highlighting, and pick a package. Try our free editor.

September 11, 2026·10 min read

JSON to Markdown: Convert Data to Tables and Docs

Convert JSON to Markdown tables and documents with working Python, jq, and Node snippets, plus the pipe and null gotchas that break rows. Try our free editor.

September 11, 2026·11 min read

Markdown to Text: Strip Formatting to Plain Text

Convert markdown to text with pandoc, Python, or npm, keep escaped characters intact, and clean up AI answers before you paste them. Try our free editor.

September 11, 2026·11 min read