Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

print_function_py2

Usage

This package is using for detect pressing in Python.

How to use it

Import it by: import key_pressing. No any additional modules or packages will be installed. You need to install bash if you are using POSIX.

>>> import key_pressing
>>> key_pressing.detect_onekey()
O
'O'
>>> key_pressing.detect_escape()
^[[7m
'\x1b[7m'
>>> key_pressing.detect_keys(12)
Hello world!
'Hello world!'

If you cannot install the package by pip, please download the tar.gz file and extract to sys.path(PYTHONPATH).

Known issues

  • Cannot be used on Win32 platform.
  • Cannot detect newline character correctly(got it as \x00).

Release files for key-pressing 0.1.3.132321b0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for key-pressing 0.1.3.132321b0
File Size Uploaded
key-pressing-0.1.3.132321b0.tar.gz 2.5 kB Details

Release files / key-pressing-0.1.3.132321b0.tar.gz

Download URL key-pressing-0.1.3.132321b0.tar.gz
Size 2.5 kB
Tags Source
SHA-256 checksum
How to use checksums
3aef5ac395b7985b45700457a10d8a26378a29f77dcd807105eb24e4edeef04d
BLAKE2b-256 checksum
How to use checksums
762b33aa0e8b583a5973bb436edbbc6531429ee6f1de3431fef78886bd53d2cc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

Release history Release notifications | RSS feed

This release

0.1.3.132321b0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page