Blog - #python
Markdown guides, tutorials, and tips for developers, writers, and students.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.