Pages

Topics

Tools

↑↓navigate↵openescclose

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

Latest guides

A Python script interacting with GitHub Actions workflow runs, showing a workflow pipeline diagram and code snippets.
Python

Using Python PyGithub to Manage GitHub Actions Workflows

python pygithub github actions workflows: Learn how to use PyGithub to list, trigger, and monitor GitHub Actions workflows from Python, including authentication, pagin...

PyGithubGitHub ActionsCI/CDWorkflow Automation
Illustration of PyGithub retrieving commits, releases, and files from a GitHub repository.
Python

Python PyGithub: Commits, Releases, and Repository Contents

Use PyGithub to fetch repository contents, commits, and releases from the GitHub API, including pagination, rate-limit handling, and a combined script.

PyGithubGitHub APIPythonGit
Illustration of a Python script connecting to GitHub repositories, issues, and pull requests via authentication tokens.
Python

PyGithub Authentication for Repositories, Issues, and Pull Requests

python pygithub authentication repositories issues and pull requests: Learn how to authenticate with PyGithub using tokens, then fetch repositories, manage issues, and...

PyGithubGitHub APIAuthenticationRepositories
A clean technical illustration of a Git repository branch tree with panels for status, diff, and commit log.
Python

Reading Repository Status, Diffs, and Logs with Python GitPython

Use GitPython to read repository status, compute diffs, and walk commit history from Python for automation and analysis.

GitPythonGitPython automationrepository analysis
Illustration of Git repository operations automated with Python GitPython library
Python

Python GitPython: Clone, Pull, Commit, Push, and Branches

Learn how to automate Git operations in Python with GitPython: cloning repositories, pulling updates, committing and pushing changes, and managing branches.

GitPythonGit automationPythonversion control
Diagram showing a Python script using psutil to collect system metrics and battery status from a laptop.
Python

Python psutil System Information and Battery Status

Learn how to use Python psutil to retrieve CPU, memory, disk, network, and battery status on Linux, Windows, and macOS.

psutilsystem monitoringbattery statuspython
Stylized diagram of a Python process tree with CPU and memory gauges, and a stop button representing termination
Python

Python psutil: Process Monitoring and Termination

python psutil process monitoring and termination: Learn to monitor CPU, memory, and status of running processes with psutil, then safely terminate or kill them from Py...

psutilprocess managementsystem monitoringPython scripting
Illustration of a Python script monitoring system resources including CPU, memory, disk, and network using psutil.
Python

Python psutil: CPU, Memory, Disk, and Network Usage

Learn how to read CPU, memory, disk, and network usage in Python with psutil. Includes code examples, return-value explanations, and common pitfalls.

psutilsystem monitoringCPU usagememory usage
Illustration of a Python script locating a button image on a computer screen and clicking it automatically.
Python

Python PyAutoGUI: Locate Images and Automate GUI Actions

Learn to use PyAutoGUI's image recognition to locate UI elements on screen, handle confidence and search regions, and automate clicks and drags in Python.

PyAutoGUIGUI AutomationImage RecognitionPython Scripting
Illustration of a Python script controlling a mouse cursor and capturing a screenshot on a desktop screen.
Python

Python PyAutoGUI Mouse, Keyboard, and Screenshot Automation

Automate mouse movements, keyboard input, and screenshot capture with PyAutoGUI in Python. Covers setup, practical API usage, and reliability tips.

PyAutoGUIUI AutomationScreenshot CaptureDesktop Automation