Capture Keypress
Project description
Key Press
Python package for capture and return keypress.
Prerequisites
Developed and tested in Linux and Python 3
Installing
pip3 install ebx_keypress
or from source:
python3 -m pip install [your_path]/ebx_keypress/
Functions
keypress
keypress(): Description: Capture pressed keys and combined keys and return as string
Return: String with pressed key
Examples of use
import ebx_keypress
result_Keypress = ''
obj_keypress = ebx_keypress.Get_Key()
print("Press keys or Ctrl+C to Exit")
while result_Keypress != 'Ctrl+ C':
result_Keypress = obj_keypress.keypress()
print(result_Keypress)
Versioning
=======================================================================================
== Log Changes:
== Date: 2021-05-12
== Author: Fausto Branco
== Version: 1.1.0
== Description: Initial Version
=======================================================================================
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ebx_keypress-1.1.0.tar.gz
(15.9 kB
view hashes)
Built Distribution
Close
Hashes for ebx_keypress-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3277e546b3d7016898edcd0145b84b7152fcdac6f2d68c5b038b07f1dbcd435b |
|
MD5 | 39e8344f59e73bda0ac2d3038ab67cd7 |
|
BLAKE2b-256 | abf32b4b2fe6bc13c89e4f186d87d1ba517cea14212200825f70e962dc70ac49 |