Module: typewriter
This module provides a function that prints out text in a typewriter manner
def typing(txt, text_speed=0.05):
for char in txt:
sys.stdout.write(char)
sys.stdout.flush()
if char != "\n":
time.sleep(text_speed)
else:
time.sleep(text_speed + 0.3)
else:
sys.stdout.write("\n")
- text: Argument that will be printing to the terminal
- text_speed: Specifies the time taken to pause after printing each character
Release files for leza-typewriter 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| leza_typewriter-1.0.0.tar.gz | 2.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| leza_typewriter-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.3 kB
Release files / leza_typewriter-1.0.0.tar.gz
| Download URL | leza_typewriter-1.0.0.tar.gz |
|---|---|
| Size | 2.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cf4044e1c8dd143f720a2c38d4e2662b8c8cb599a44ed337fa900afa21eac95c
|
|
BLAKE2b-256 checksum How to use checksums |
e9957a2a6db60a6cd7238a2e3bb6f9ba0f9d55c830b3d6c78c9fdd200e7f78fe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.1
|
Release files / leza_typewriter-1.0.0-py3-none-any.whl
| Download URL | leza_typewriter-1.0.0-py3-none-any.whl |
|---|---|
| Size | 2.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b8250690fa50afdd4b6fbc9f2f20e00f6ed533668527fb3a886c6373b784e4ce
|
|
BLAKE2b-256 checksum How to use checksums |
164e91a8fad2b58049fc1e1be24f510b8f90084a15e4293c64a968bc4e5de0d7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.1
|