AttributeError: module 'virtkey' has no attribute 'press_unicode'
(using python3)
Cannot use virtkey
This module is probably long outdated, but for some reason it is still built for Ubuntu 19.10, so why does it have no proper documentation whatsoever?
Code:
import virtkey
import time
v = virtkey.virtkey
for i in range(1, 10):
v.press_
time.sleep(1)
Error:
Traceback (most recent call last):
File "virtkey.py", line 1, in <module>
import virtkey
File "/home/
v.press_
AttributeError: module 'virtkey' has no attribute 'press_unicode'
VScode gives the error:
Module 'virtkey' has no 'press_unicode' member
What I am trying to do is to press the "v" key ten times.
I have tried using virtkey.
using an example from c. 2007, it also doesn't work
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- virtkey Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Archie Halliwell
- Solved:
- Last query:
- Last reply: