On Sat, Sep 13, 2014 at 3:47 PM,  <daoudi...@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
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to