Typeerror
Freaky Chris
angry-chris at hotmail.com
Wed May 21 04:58:54 EDT 2008
This is a simple error, you are passing the variable res as an interger to
use for a slice when what ever you are storing in res isn't an integer.
Chris
Beema shafreen wrote:
>
> Hi all,
> I getting the following error when i run my scirpt ,
> can somebody help me regarding this to solve the type error problem
>
>
> Traceback (most recent call last):
> File "get_one_prt_pep.py", line 59, in ?
> if len(data[res])<=1:
> TypeError: string indices must be integers
>
>
> --
> Beema Shafreen
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
--
View this message in context: http://www.nabble.com/Typeerror-tp17358659p17358932.html
Sent from the Python - python-list mailing list archive at Nabble.com.
More information about the Python-list
mailing list