Read keyboard input in Python

python keyboard input
input()

input can be passed a string to show as a prompt.

With sys

import sys
sys.stdin.readline()

readline will keep a '\n' at the end of the string.