K
K
kuzdman2018-03-10 21:05:05
Python
kuzdman, 2018-03-10 21:05:05

How to attach to a computer process in python?

Hello, how to connect to an open window or process in python? I know that this can be done perfectly in C++, but the question is whether it is possible in python.
For example, a browser game is open and I want to connect to one of the processes (to the computer's memory) in order to change some parameter/value.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
C
chupasaurus, 2018-03-10
@kuzdman

Through ctypes and further by means of the standard C / C ++ library of a specific OS. For those who have not mastered, there is memorpy as an example .

R
rasswet, 2018-03-15
@rasswet

xlib look, but I'm not sure if this is exactly it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question