>A Byte of Python

The from..import statement

If you want to directly import the argv variable into your program, then you can use the from sys import argv statement. If you want to import all the functions, classes and variables in the sys module, then you can use the from sys import * statement. This works for any module. In general, avoid using the from..import statement and use the import statement instead since your program will be much more readable that way.