Skip to main content

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


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)

Uploaded Source

Built Distribution

ebx_keypress-1.1.0-py3-none-any.whl (15.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page