Read keyboard until keypress - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: Homework (https://python-forum.io/forum-9.html) +--- Thread: Read keyboard until keypress (/thread-10840.html) |
Read keyboard until keypress - ytav - Jun-09-2018 How can I read from keyboard until the user press CTRL + D? RE: Help - Larz60+ - Jun-09-2018 write some code to do that. see: https://stackoverflow.com/questions/510357/python-read-a-single-character-from-the-user?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa for getting single characters |