User Input?
Moshe Zadka
moshez at math.huji.ac.il
Sun Jun 4 00:53:05 EDT 2000
On Sun, 4 Jun 2000, Michael Morrison wrote:
> My friend was talking about a programming asignment and I was telling him
> about python, so we decided to make programs in our different languages (his
> being QBasic :P) ...
>
> Anyway, it dealt with user input, and from only having read Learning Python,
> I didn't know how to do it (and still don't).
> Is there an easy way to do user input in python? I found a non-standard
> module, but it looked too complicated (not something I'd expect from the
> ease-of-use I've had so far).
>
> Example: python blah.py
> Name? (type in name)
> Address? (type in address)
> etc....
>
> Any help would be appreciated, thanks!
Read about the raw_input() function
--
Moshe Zadka <moshez at math.huji.ac.il>
http://www.oreilly.com/news/prescod_0300.html
http://www.linux.org.il -- we put the penguin in .com
More information about the Python-list
mailing list