Command line input

Rick Dooling rpdooling at gmail.com
Tue Apr 1 01:04:13 CEST 2008


On Mar 31, 2:39 pm, hexusne... at gmail.com wrote:
> How do I receive input from the command line in Python?

As long as we are all guessing, do you perhaps mean raw_input?

my_name = raw_input("What is your name? ")
What is your name? Rick <ENTER>
>>> my_name
'Rick'




More information about the Python-list mailing list