A small module for to display the letters at the sequence.
Project description
A small module for to display the letters at the sequence.
New Releases
The new function Speed allow to change the speed of defilement for defile and defileInput
Installation
For windows, you must install the folder TextEdit in C:\Users\your_account\AppData\Local\python\python-version\Lib\
For Linux, you must install the folder TextEdit in /usr/local/lib/python/dist-packages/
So, you import TextEdit for Linux with :
pip3 TextEdit
And, for Windows you import with :
py -m pip install TextEdit
You must have pygame for use the fonction defileSound and defileInputSound.
You can install it with this command for Linux :
pip3 install pygame;
And, for Windows :
py -m pip install pygame
Importation and use
Once you've installed, you can really quickly verified that it works with just this :
>>> import TextEdit
>>> TextEdit.defile ("Hello world")
The TextEdit module contain for the moment 5 fonction : defile ; defileInput ; defileSound ; defileInputSound ; Speed. It does not requires argument apart the function Speed. You can put as many arguments as you want apart the function Speed Example :
>>> TextEdit.defile ("Hello world",a,"Goodbye world")
The function Speed is different. You choose the speed of the function defile and defileInput. You can write for argument a numberfor choose the time that elapses between each letter, "def" for reset the speed, and "reset" and "no_reset" for reset or no the speed at each line. Example :
>>> Speed("no_reset") #the speed don"t reset at each line
>>> TextEdit.defile("Hello world") #it's the same speed for both lines.
>>> TextEdit.defile("Goodbye world")
Copyright
This software is Copyright © 2022 Corentin Perdry corentin.perdry@gmail.com
See the bundled LICENSE file for more information.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file TextEdit-1.4.tar.gz.
File metadata
- Download URL: TextEdit-1.4.tar.gz
- Upload date:
- Size: 24.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
734e291dc7a994271fcaf9526c2a66d80bf5efc32b69b288f8b49b9252cdbdce
|
|
| MD5 |
caa454ea8cf9c0c07d0a4a7c544f17b6
|
|
| BLAKE2b-256 |
8b8c9e4a218585be42ff0174cff6a5075ddbe4f85a45692c0f5c5694e9b71697
|
File details
Details for the file TextEdit-1.4-py3-none-any.whl.
File metadata
- Download URL: TextEdit-1.4-py3-none-any.whl
- Upload date:
- Size: 22.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dfd0127337e85e547dc3e4089ffcab47839ac90ae9beb73bb9f41ff5f0364868
|
|
| MD5 |
d7b4a1059794e12b9838390b7b1aa867
|
|
| BLAKE2b-256 |
83b46f962392f583da9732a485db3342568656fcd14422f4032b3608ad3b054e
|