Python论坛  - 讨论区

标题:[python-chinese] 读excel的新问题:超过255行数据怎么办?

2007年10月29日 星期一 16:23

??? ?? clfff.peter在gmail.com
星期一 十月 29 16:23:47 HKT 2007

¶ÁexcelÖÐÒ»¸ösheetʱ£º
xlApp = Dispatch("Excel.Application")
xlApp.Visible = 0
doc = self.xlApp.Workbooks.Open(xlsName)
sheet = self.doc.Sheets(sheetName)
col_num = len(self.sheet.Columns)

ÎÒµÄÊý¾ÝÆäʵÓÐ600¶àÐУ¬µ«ÉÏÃæcol_numÖ»ÄÜ´ïµ½255£¬ÎªÊ²Ã´£¿
ÓÐûÓÐʲô°ì·¨µÃµ½ÕæÕýµÄÊý¾Ýµ½µ×ÓжàÉÙ£¿
лл¡£
-------------- 下一部分 --------------
Ò»¸öHTML¸½¼þ±»ÒƳý...
URL: http://python.cn/pipermail/python-chinese/attachments/20071029/9155793d/attachment.htm 

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2007年10月30日 星期二 09:38

cai whidbey whidbeycai在gmail.com
星期二 十月 30 09:38:22 HKT 2007

ÁÐÊÇcol£¬ÐÐÊÇrow

ÔÚ07-10-29£¬??? ?? <clfff.peter在gmail.com> дµÀ£º
>
> ¶ÁexcelÖÐÒ»¸ösheetʱ£º
> xlApp = Dispatch("Excel.Application")
> xlApp.Visible = 0
> doc = self.xlApp.Workbooks.Open(xlsName)
> sheet = self.doc.Sheets(sheetName)
> col_num = len(self.sheet.Columns)
>
> ÎÒµÄÊý¾ÝÆäʵÓÐ600¶àÐУ¬µ«ÉÏÃæcol_numÖ»ÄÜ´ïµ½255£¬ÎªÊ²Ã´£¿
> ÓÐûÓÐʲô°ì·¨µÃµ½ÕæÕýµÄÊý¾Ýµ½µ×ÓжàÉÙ£¿
> лл¡£
>
> _______________________________________________
> python-chinese
> Post: send python-chinese在lists.python.cn
> Subscribe: send subscribe to python-chinese-request在lists.python.cn
> Unsubscribe: send unsubscribe to  python-chinese-request在lists.python.cn
> Detail Info: http://python.cn/mailman/listinfo/python-chinese
>
-------------- 下一部分 --------------
Ò»¸öHTML¸½¼þ±»ÒƳý...
URL: http://python.cn/pipermail/python-chinese/attachments/20071030/c81678ff/attachment.html 

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2007年10月30日 星期二 13:07

Wei Jiang jiejisheng在gmail.com
星期二 十月 30 13:07:25 HKT 2007

ÕÒ×îºóÒ»¸ö·Ç¿Õ°É.

On 10/30/07, cai whidbey <whidbeycai在gmail.com> wrote:
>
> ÁÐÊÇcol£¬ÐÐÊÇrow
>
> ÔÚ07-10-29£¬??? ?? <clfff.peter在gmail.com> дµÀ£º
> >
> > ¶ÁexcelÖÐÒ»¸ösheetʱ£º
> > xlApp = Dispatch("Excel.Application")
> > xlApp.Visible = 0
> > doc = self.xlApp.Workbooks.Open(xlsName)
> > sheet = self.doc.Sheets(sheetName)
> > col_num = len(self.sheet.Columns)
> >
> > ÎÒµÄÊý¾ÝÆäʵÓÐ600¶àÐУ¬µ«ÉÏÃæcol_numÖ»ÄÜ´ïµ½255£¬ÎªÊ²Ã´£¿
> > ÓÐûÓÐʲô°ì·¨µÃµ½ÕæÕýµÄÊý¾Ýµ½µ×ÓжàÉÙ£¿
> > лл¡£
> >
> > _______________________________________________
> > python-chinese
> > Post: send python-chinese在lists.python.cn
> > Subscribe: send subscribe to python-chinese-request在lists.python.cn
> > Unsubscribe: send unsubscribe to
> > python-chinese-request在lists.python.cn
> > Detail Info: http://python.cn/mailman/listinfo/python-chinese
> >
>
>
> _______________________________________________
> python-chinese
> Post: send python-chinese在lists.python.cn
> Subscribe: send subscribe to python-chinese-request在lists.python.cn
> Unsubscribe: send unsubscribe to  python-chinese-request在lists.python.cn
> Detail Info: http://python.cn/mailman/listinfo/python-chinese
>
-------------- 下一部分 --------------
Ò»¸öHTML¸½¼þ±»ÒƳý...
URL: http://python.cn/pipermail/python-chinese/attachments/20071030/cbb3a44e/attachment.htm 

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

如下红色区域有误,请重新填写。

    你的回复:

    请 登录 后回复。还没有在Zeuux哲思注册吗?现在 注册 !

    Zeuux © 2025

    京ICP备05028076号