Answers for "python-shell argv electro are undefined"

0

python sys.argv exception

try:
    filename = sys.argv[1]
except IndexError:
    print "You did not specify a file"
    sys.exit(1)
Posted by: Guest on October-23-2020

Python Answers by Framework

Browse Popular Code Answers by Language