Python Forum

Full Version: Read keyboard until keypress
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How can I read from keyboard until the user press CTRL + D?
write some code to do that.

see: https://stackoverflow.com/questions/5103...le_rich_qa
for getting single characters