<p>How do I have a Python script that a) can accept user input and how do I make it b) read in arguments if run from the command line?</p>

```
```
var = raw_input("Please enter something: ")
print "you entered", var
```
```
Or for Python 3:
```
```
var = input("Please enter something: ")
print("You entered: " + var)
```
```