User Input?

Darrell Gallion darrell at dorb.com
Sun Jun 4 02:03:11 EDT 2000


name=raw_input("Name:")
addr=raw_input("Address:")
print name
print addr

--Darrell Gallion

----- Original Message ----- 
From: "Michael Morrison" <borlak at home.com>
> 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....
> 






More information about the Python-list mailing list