Tag

win32api

0 views collected around this technical thread.

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.

PythonRegistryautomation
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
Feb 7, 2025 · Information Security

Implementing a Windows Keylogger in Python Using Win32 API Hooks

This tutorial explains how to build a Python-based keylogger on Windows by importing win32 API DLLs with ctypes, registering low‑level keyboard hooks, defining hook procedures using WINFUNCTYPE, handling hook events, and properly installing and uninstalling the hook, complete with full source code.

HooksKeyloggerPython
0 likes · 7 min read
Implementing a Windows Keylogger in Python Using Win32 API Hooks
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
Python Programming Learning Circle
Python Programming Learning Circle
Sep 20, 2024 · Fundamentals

Python Windows Automation: Change Wallpaper, Lock Screen, and Create Infinite Pop‑ups

This tutorial demonstrates how to use Python 3.7 on Windows 10 with win32api, win32gui, ctypes, and os modules to programmatically change the desktop wallpaper, lock the workstation, and spawn endless command‑prompt pop‑ups, including full source code and packaging instructions.

Pythonautomationctypes
0 likes · 5 min read
Python Windows Automation: Change Wallpaper, Lock Screen, and Create Infinite Pop‑ups
Python Programming Learning Circle
Python Programming Learning Circle
Apr 1, 2024 · Artificial Intelligence

Automating Minesweeper with Python and OpenCV: A Step‑by‑Step Tutorial

This tutorial explains how to build a Python‑based Minesweeper bot using OpenCV for image processing, win32gui for window handling, and a rule‑based solving algorithm, covering environment setup, window capture, block segmentation, block classification, and automated mouse actions.

MinesweeperPythonautomation
0 likes · 14 min read
Automating Minesweeper with Python and OpenCV: A Step‑by‑Step Tutorial
Python Programming Learning Circle
Python Programming Learning Circle
Jul 2, 2022 · Game Development

Python Automated Minesweeper Bot Using Win32 API and Image Recognition

This article explains how to build a Python bot that automatically plays Minesweeper by locating the game window, capturing and analyzing the board image with RGBA values, and simulating mouse clicks using win32api, providing step‑by‑step code and a basic solving algorithm.

Minesweeperalgorithmimage processing
0 likes · 9 min read
Python Automated Minesweeper Bot Using Win32 API and Image Recognition