Python sys.argv Exception
try:
filename = sys.argv[1]
except IndexError:
print "You did not specify a file"
sys.exit(1)
Clumsy Cassowary
try:
filename = sys.argv[1]
except IndexError:
print "You did not specify a file"
sys.exit(1)