Skip to content

Latest commit

 

History

History
63 lines (40 loc) · 1.44 KB

File metadata and controls

63 lines (40 loc) · 1.44 KB

jk_pwdinput

Introduction

This python module provides the capability to read a passwords from STDIN. In contrast to typical password input in this case for every character pressed an asterisk is displayed.

Information about this module can be found here:

How to use this module

Requirements

This module will require the following python module(s) to operate:

Import

To import this module use the following statement:

import jk_pwdinput

Reading a password

In order to read a password from STDIN use the following code:

userPwd = jk_pwdinput.readpwd("Please enter a password: ")
if userPwd is None:
	# no password given
	....
else:
	# user provided the password
	....

Contact Information

This is Open Source code. That not only gives you the possibility of freely using this code it also allows you to contribute. Feel free to contact the author(s) of this software listed below, either for comments, collaboration requests, suggestions for improvement or reporting bugs:

License

This software is provided under the following license:

  • Apache Software License 2.0