find the error
Chris Angelico
rosuav at gmail.com
Sat Sep 13 01:53:37 EDT 2014
More information about the Python-list mailing list
Sat Sep 13 01:53:37 EDT 2014
- Previous message (by thread): find the error
- Next message (by thread): find the error
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Sat, Sep 13, 2014 at 3:47 PM, <daoudimca at gmail.com> wrote: > Dear friends when i used > import urllib, re, sys > > symbol = sys.argv[1] >>> this function is show -->> symbol = sys.argv[1] > IndexError: list index out of range > > kindly find the solution of this If you're using sys.argv, you need to provide arguments to your script. You provided no arguments, so the list doesn't have elements for you to find. ChrisA
- Previous message (by thread): find the error
- Next message (by thread): find the error
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list