I am reading \"Learn Python the Hard Way\" and was confused by the \"script\" part of the second line.
from sys import argv
script, filename = argv
>
The first item in argv is the name of the Python script you're running. Any additional arguments (the filename, in this case) are arguments passed to this script.
These two arguments are assigned the names script and filename. It's entirely possible that script is never used again; it's basically a placeholder. If you remove it, however, you'd do filename = argv[1] instead.