Re: [python-win32] Re ading date from PYTime

2009-05-20 Thread SantoshMohan
Found another way : >>> print emptylist [((u'Name', u'DOB'),), ((u'C R RAMESH', ),), ((u'G SIVA RAMA KRISHNAIAH', ),)] >>> v=emptylist[1][0] >>> v (u'C R RAMESH', ) >>> v_date=v[1].Format().split()[0] >>> print v_date 07/13/61 Tim Golden-4 wrote: > > SantoshMohan wrote: >> Hi, >> >> I am writi

Re: [python-win32] Re ading date from PYTime

2009-05-19 Thread Tim Golden
SantoshMohan wrote: Hi, I am writing a script to read date from xls file. Output is like this: emptylist [((u'Name', u'DOB'),), ((u'C R RAMESH', ),), ((u'G SIVA RAMA KRISHNAIAH', ),)] emptylist[1] ((u'C R RAMESH', ),) value ((u'C R RAMESH', ),) value[0][1] How to read the date and

[python-win32] Re ading date from PYTime

2009-05-19 Thread SantoshMohan
Hi, I am writing a script to read date from xls file. Output is like this: >>>emptylist [((u'Name', u'DOB'),), ((u'C R RAMESH', ),), ((u'G SIVA RAMA KRISHNAIAH', ),)] >>> emptylist[1] ((u'C R RAMESH', ),) >>> value ((u'C R RAMESH', ),) >>> value[0][1] How to read the date and Time? -- View