find the error

Denis McMahon denismfmcmahon at gmail.com
Sat Sep 13 19:28:19 CEST 2014


On Fri, 12 Sep 2014 22:47:57 -0700, daoudimca 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

You are trying to reference more elements than your list contains.

-- 
Denis McMahon, denismfmcmahon at gmail.com



More information about the Python-list mailing list