So wat should I do ?? K.S.Sreeram wrote: > [EMAIL PROTECTED] wrote: > > print template % (ID, IID, Function[:10], Description[:10], > > ErrorNumber, StatusCD) > > TypeError: unsubscriptable object > > It means either 'Function' or 'Description' is not a sequence. > Try inserting print statements to see what values they are. > > e.g: > > a = 2 > a[:10] > > will give me an 'unsubscriptable object' > > Regards > Sreeram > > > --------------enig08E562E3E8ED90BF5BC3C92B > Content-Type: application/pgp-signature > Content-Transfer-Encoding: base64 > Content-Disposition: inline; > filename="signature.asc" > Content-Description: OpenPGP digital signature > X-Google-AttachSize: 253
-- http://mail.python.org/mailman/listinfo/python-list