O
O
Oladyshek2020-09-05 09:48:21
Python
Oladyshek, 2020-09-05 09:48:21

Simulate keys by python script with raspberry pi?

How to make the raspberry pi distribute wifi when connected to a computer (via USB), I connected to it and ran a python script that simulates the keys that I enter. Even when the screen is locked (that is, so that I can enter the password remotely (the password is in advance known)).
It is the script itself that is of interest that simulates pressing, is there such a ready-made one or is there a library.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Viktor T2, 2020-09-05
@Oladyshek

https://pypi.org/project/pynput/
https://nitratine.net/blog/post/simulate-keypresse...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question