Re: [python-win32] a trivial question

2012-03-08 Thread Pham, Hien
Try this: tableSize = self.doc.getTableSize(tbl) for row in range(tableSize[1]): for col in range(tableSize[0]): print procTbl.Cell(row+1, col+1).Range).Text From: python-win32-bounces+hien.pham=tekelec@python.org [mailto:python-win32-bounces+hien.pham=tekelec@python.org] O

Re: [python-win32] Newbee question

2007-08-21 Thread Pham, Hien
This is not a Python question - It is a Math problem: Try this: stops = 24 if stops <= 22: stopPay = stops * .4 else: stopPay = 22 * 0.4 + (stops - 22) * 1.4 print stopPay That will give you $11.60 Hope that help, H. Pham -Original Message- From: [EMAIL PROTECTED] [mailto