name = input('Please enter your name: ') # for python 2.7 use rawinput()from command line, place variables after script name, and read in with argv: http://stackoverflow.com/questions/10098...-in-python
How do I accept input from the terminal when I execute my file?
How do I accept input from the terminal when I execute my file?
|
|
Messages In This Thread |
How do I accept input from the terminal when I execute my file? - by cocoa1231 - Dec-08-2016, 08:31 AM
RE: How do I accept input from the terminal when I execute my file? - by Larz60+ - Dec-08-2016, 11:22 AM
|
Users browsing this thread: 1 Guest(s)