Skip to content

tylercrompton/getch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

#Getch

This module provides a cross-platform solution to get one character from standard input. It works just like input. The only exception is that return does not need to be sent. After one character, it automatically stops asking for input.

##Example Usages

if getch('Are you sure you want to quit without saving changes? (y/N): ').lower() == 'y':
	sys.exit()

getch('Press any key to continue...')

About

A cross platform getch for Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages