[Tutor] raw_input function

Gerrit Holl gerrit at nl.linux.org
Wed Jan 28 15:27:59 EST 2004

Karl Pfl=E4sterer wrote:
> On 28 Jan 2004, Christopher Spears <- cspears2002 at yahoo.com wrote:
> > Where can I go to get some general information on how
> > the raw_input function works?
> I think you have to look in the source code (C).

Or the Python source code:
>>> def py_raw_input(s):
...     sys.stdout.write(s)
...     return sys.stdin.readline()[:-1] # strip of trailing newline


192. If a son of a paramour or a prostitute say to his adoptive father
or mother: "You are not my father, or my mother," his tongue shall be cut
          -- 1780 BC, Hammurabi, Code of Law
PrePEP: Builtin path type
Asperger's Syndrome - a personal approach:

More information about the Tutor mailing list