[EMAIL PROTECTED] schrieb:
> Can anybody tell me why am I getting this error message while trying to
> print a part of a string. Is there a better approach for this...

Because you don't use a string? The error message is pretty clear:

TypeError: unsubscriptable object

So - what are Function[:10], Description[:10] ? You _assume_ they are 
strings, seems not to be the case.

Diez
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to