input() and raw_input()

8 views
Skip to first unread message

pir...@gmail.com

unread,
Feb 22, 2012, 5:35:38 AM2/22/12
to python-o...@googlegroups.com
A little stupid question: Are input() and raw_input() implemented on
PyMite python libraries? Platforms must to implement plat_getByte(),
but later how do you read stdin? :-/

--
"Si quieres viajar alrededor del mundo y ser invitado a hablar en un
monton de sitios diferentes, simplemente escribe un sistema operativo
Unix."
– Linus Tordvals, creador del sistema operativo Linux

Dean Hall

unread,
Feb 22, 2012, 9:14:57 AM2/22/12
to python-o...@googlegroups.com
sys.getb() returns an int and putb() takes an int. Both ints should be in the range (0..255).

!!Dean

> --
> You are subscribed to the "python-on-a-chip" (or p14p for short) Google Group.
> Site: http://groups.google.com/group/python-on-a-chip

pir...@gmail.com

unread,
Feb 22, 2012, 9:22:39 AM2/22/12
to python-o...@googlegroups.com
Ok thanks! :-D

2012/2/22 Dean Hall <dwha...@gmail.com>:

Reply all
Reply to author
Forward
0 new messages