raw input hack for python

BM-2cVAqUwa6owJccHVt8gKwaRu3J2uFNcErH
Jul 5 09:25 [raw]

I am looking for a raw input hack that uses only standard library and no termios. I need python to read a single keypress without requiring enter key. Even better if the key code can be passed to variable. I know it can be done with termios, msvcrt, curses, etc. and I have the code for that, but I need to hack something simpler, if it is possible.

[chan] linux
BM-2cT9uwut8dNuYU8co16nFBTq9n7QR4Mwgn

Subject Last Count
Spam Sep 16 16:00 14
🙼🙼🙼🙼🙼🙼🙼🙼🙼🙼🙼🙼🙼🙼🙼 Sep 15 21:30 1
lpeu Sep 14 20:37 1
aed Sep 14 20:37 1
rjolr Sep 14 20:36 1
sjdm Sep 14 20:29 1
qpoy Sep 14 20:25 1
vwkr Sep 14 20:25 1
dwqdv Sep 14 20:14 1
urwgd Sep 14 20:12 1
pwjod Sep 14 20:08 1
kfdhp Sep 14 20:08 1
ditzg Sep 14 20:05 1
taoki Sep 14 20:02 1
ktwvt Sep 14 19:57 1
xsnfv Sep 14 19:57 1
dclv Sep 14 19:55 1
qrbir Sep 14 19:54 1
zeej Sep 14 19:54 1
taqic Sep 14 19:46 1
hduwn Sep 14 19:46 1
onlr Sep 14 19:46 1
urod Sep 14 19:45 1
cee Sep 14 19:45 1
upvbr Sep 14 19:44 1
dxsp Sep 14 19:41 1
pqair Sep 14 19:41 1
leo Sep 14 19:41 1
ygr Sep 14 19:36 1
kmxq Sep 14 19:24 1
seex Sep 14 19:23 1
fbjd Sep 14 19:23 1
wxclw Sep 14 19:21 1
xade Sep 14 19:21 1
max Sep 14 19:15 1
rusg Sep 14 19:11 1
cpts Sep 14 19:07 1
eao Sep 14 19:07 1
izqo Sep 14 19:07 1
pzh Sep 14 19:05 1
zhvhf Sep 14 19:02 1
qlo Sep 14 19:02 1
udsp Sep 14 18:59 1
smau Sep 14 18:59 1
xcdj Sep 14 18:59 1
dya Sep 14 18:59 1
szik Sep 14 18:55 1
tjpkk Sep 14 18:49 1
olrkp Sep 14 18:45 1
emmwv Sep 14 18:34 1
vhei Sep 14 18:30 1
wgvym Sep 14 18:27 1
jxkko Sep 14 18:24 1
yor Sep 14 18:11 1
ffp Sep 14 18:06 1
olw Sep 14 18:03 1
ipgn Sep 14 17:51 1
yxm Sep 14 17:50 1
mnaxu Sep 14 17:48 1
hegt Sep 14 17:45 1
mte Sep 14 17:44 1
ppqyx Sep 14 17:40 1
dgm Sep 14 17:36 1
ihty Sep 14 17:36 1
bolo Sep 14 17:35 1
nqfh Sep 14 17:31 1
itsvv Sep 14 17:23 1
nnpdd Sep 14 17:21 1
spq Sep 14 17:19 1
bpx Sep 14 17:17 1
tfs Sep 14 17:12 1
jtr Sep 14 17:11 1
zear Sep 14 17:08 1
lzxvs Sep 14 17:08 1
jmya Sep 14 17:08 1
ych Sep 14 17:07 1
phwm Sep 14 16:53 1
zod Sep 14 16:49 1
ycuhy Sep 14 16:47 1
tkve Sep 14 16:47 1
csy Sep 14 16:47 1
koi Sep 14 16:46 1
hqsdq Sep 14 16:45 1
ignde Sep 14 16:44 1
uljvd Sep 14 16:38 1
qhljw Sep 14 16:38 1
wzum Sep 14 16:36 1
zeicp Sep 14 16:29 1
ryq Sep 14 16:29 1
breu Sep 14 16:25 1
stv Sep 14 16:19 1
flhc Sep 14 16:19 1
fwe Sep 14 16:19 1
ple Sep 14 16:07 1
ogkv Sep 14 16:06 1
xsy Sep 14 16:06 1
ulpd Sep 14 16:00 1
qip Sep 14 16:00 1
urqd Sep 14 15:56 1
adb Sep 14 15:56 1