Tagged articles
10 articles
Page 1 of 1
Python Programming Learning Circle
Python Programming Learning Circle
Mar 22, 2025 · Fundamentals

Python Scripts for Changing Windows Wallpaper, Locking the Screen, and Creating Infinite Pop‑up Windows

This tutorial demonstrates how to use Python with win32api, ctypes, and os modules on Windows 10 to programmatically modify the desktop wallpaper via the registry, lock the workstation in an infinite loop, and spawn endless command‑prompt windows, including full code examples and packaging instructions.

PythonRegistryScripting
0 likes · 4 min read
Python Scripts for Changing Windows Wallpaper, Locking the Screen, and Creating Infinite Pop‑up Windows
Python Programming Learning Circle
Python Programming Learning Circle
Oct 11, 2024 · Game Development

Python Automated Minesweeper Bot Using Win32 API and Image Recognition

This tutorial explains how to build a Python bot that automatically plays Minesweeper by locating the game window, capturing the board via image processing, interpreting cell states through RGBA values, and applying a simple rule‑based algorithm to flag mines and uncover safe squares, with fallback random clicks for unresolved situations.

GameBotImageRecognitionMinesweeper
0 likes · 12 min read
Python Automated Minesweeper Bot Using Win32 API and Image Recognition
MaGe Linux Operations
MaGe Linux Operations
Sep 18, 2018 · Backend Development

How to Run and Control External Programs in Python on Windows

This guide explains four Python techniques for executing and managing external Windows programs—including os.system, win32api ShellExecute, win32process CreateProcess, and ctypes calls to kernel32.dll—providing code signatures, parameter details, and practical examples.

Windowsctypesos.system
0 likes · 6 min read
How to Run and Control External Programs in Python on Windows
MaGe Linux Operations
MaGe Linux Operations
Jun 21, 2017 · Backend Development

How to Run External Programs in Python on Windows Using os, win32api, and ctypes

This guide explains multiple methods for executing external programs and scripts from Python on Windows, covering the simple os.system call, the win32api ShellExecute function, creating processes with win32process.CreateProcess, and invoking kernel32.dll functions via ctypes, complete with syntax, parameters, and example code.

ctypessubprocesswin32api
0 likes · 5 min read
How to Run External Programs in Python on Windows Using os, win32api, and ctypes