function to modify user input
Project description
Usage
readpass(prompt,replacement=None)
Examples
Code:
print(readpass("What is your username?: "))
print(readpass("What is your password?: ","*"))
print(readpass("Doesn't show: ",""))
print(readpass("Troll: ","lol"))
Result:
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
readpass-0.0.3.tar.gz
(2.1 kB
view details)
Built Distribution
File details
Details for the file readpass-0.0.3.tar.gz
.
File metadata
- Download URL: readpass-0.0.3.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.8.0 tqdm/4.46.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c666b933ad1596eb58604ad5fafb64ecc75acaadff23e645f6aa462ed389d571 |
|
MD5 | c09daa4e2571559eceb3a2bbf426e2af |
|
BLAKE2b-256 | 32207d784ea9c3fdd1b43c89d3f6dc0c1e5f8a13002a35f91f15549fd67ff981 |
File details
Details for the file readpass-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: readpass-0.0.3-py3-none-any.whl
- Upload date:
- Size: 2.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.8.0 tqdm/4.46.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 031d37aec62b5c4231ebe94ffcb1b266d74714e0141fd08a3bdae72ffceb335c |
|
MD5 | 27220c7991c084a6a6943b3cfe8a4a32 |
|
BLAKE2b-256 | 05dbc68fd14fddb059b71e6febe9f90914b95fd71f34849909acfd15ef4fa259 |