H
hexusnexus
How do I receive input from the command line in Python?
How do I receive input from the command line in Python?
Direct way `sys.argv`, comfortable way `optparse`.
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'
How do I receive input from the command line in Python?
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.