On 04/gen/2011, at 21:31, Filippo Dal Bosco - <filippo.dalbo...@libero.it> wrote:
> Provando questo copiato dal .doc di xldr > ------------ > from xlrd import open_workbook > wb = open_workbook('prova-cod.xls') > for s in wb.sheets(): > print 'Sheet:',s.name > for row in range(s.nrows): > values = [] > for col in range(s.ncols): > values.append(s.cell(row,col).value) > print ','.join(values) > print Prova con: print ",".join(str(v) for v in values) Devi fare caso alla riga che ti da errore. Ciao. Marco. _______________________________________________ Python mailing list Python@lists.python.it http://lists.python.it/mailman/listinfo/python