On 2014-09-13 05:53:37 +0000, Chris Angelico said:

If you're using sys.argv, you need to provide arguments to your
script.

Or check sys.argv's length ensuring that an element is there before accessing it.


--
Andrea

--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to