0

Is there a way to get input from the user in python without using the function "input"?

Need to be compatible to python 2.7 and 3.7

3
  • 2
    Not written there but you can also use directly sys.stdin Commented Mar 25, 2021 at 8:44
  • 1
    "Input from the user" could mean a lot of things. Record gestures from the camera? Voice input via microphone? Scan a document? Move the mouse? This question can hardly be answered. Commented Mar 25, 2021 at 8:44
  • 1
    I'd agree with tomerikoo's suggestion, banning input and reading directly from sys.stdin is probably the most straightforward way to handle this, though slightly less convenient. Commented Mar 25, 2021 at 8:46

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.