+ 1

Why does my Python program not write?

Hello dear Community I am a Junior developer and want to wrote inside a web form (a web Messenger) a few 100 messages to test the web Interface. A Senior-dev was doing it in java and I want to code it in Python. But when I run the following code an click inside the "compose message" input inside the webpage, nothing is writing and sending. Also inside a word document for an example. Nothing. Also no error. Can someone help me please? Followed the code: https://code.sololearn.com/cNNTFzYmvI17/?ref=app Thank you.

16th Apr 2022, 7:40 PM
Julius
4 Réponses
+ 1
Where and how exactly are you running your script? Are you sure that Python works there in the first place? And if so that the keyboard module is available?
17th Apr 2022, 1:01 PM
Simon Sauter
Simon Sauter - avatar
+ 1
The module keyboard isnt installed use dcoder or pydroid if you want to install modules. you can download dcoder and pydroid from the playstore
18th Apr 2022, 6:47 PM
underscore
underscore - avatar
0
I didn't know there was a module in Python called Keyboard?
17th Apr 2022, 2:49 AM
Ben Archard
0
Also you can't use plain python to write stuff to the browser/display stuff in a browser, you would need HTML ect, that's all I know
17th Apr 2022, 2:51 AM
Ben Archard