Skip to content

faustobranco/ebx_keypress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
=======================================================================================

About

Python class for capture and return keypress.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published