+ 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.
4 Answers
+ 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?
+ 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
0
I didn't know there was a module in Python called Keyboard?
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