In Pascal I can execute this code to get a character from keyboard input:
uses crt;
var ch: char;
begin
ch := '.';
while ch <> '\' do
begin
ch := readkey;
writeln( ch );
end;
end;
Is there a similar one in Python? :)