pythonexcel模块哪个好_用于Python的Excel模块

1586010002-jmsa.png

Hi group,

I m wondering which Excel module is good to be used by Python?

Thanks

Sam

解决方案sam wrote:I m wondering which Excel module is good to be used by Python?

Just use Excel''s COM interface.

See also this helpful page to improve future responses:

http://www.catb.org/~esr/faqs/smart-questions.html

-Peter

On Wed, 12 Jan 2005 15:18:09 +0800, sam wrote:I m wondering which Excel module is good to be used by Python?

If you are on Windows, and you have Excel, then the Python for Windows

extensions[1] are all you need to drive Excel via COM. O''Reilly''s

"Python Programming on Win32" covers COM scripting extensively - and

by good fortune, driving Excel is the example they use, and the COM

scripting chapter is on-line[2].

You''ll also need to know the objects and methods that Excel exposes.

These are documented on Microsoft''s web site[3], or in the Excel VBA

help, which is an optional part of they Office installation.

--

Cheers,

Simon B,

si***@brunningonline.net,

http://www.brunningonline.net/simon/blog/

[1] http://starship.python.net/crew/mhammond/

[2] http://www.oreilly.com/catalog/pytho...pter/ch12.html

[3] http://msdn.microsoft.com/library/en...celObjects.asp

Simon Brunning wrote:

On Wed, 12 Jan 2005 15:18:09 +0800, sam wrote:

I m wondering which Excel module is good to be used by Python?

If you are on Windows, and you have Excel, then the Python for Windows

extensions[1] are all you need to drive Excel via COM. O''Reilly''s

"Python Programming on Win32" covers COM scripting extensively - and

by good fortune, driving Excel is the example they use, and the COM

scripting chapter is on-line[2].

You''ll also need to know the objects and methods that Excel exposes.

These are documented on Microsoft''s web site[3], or in the Excel VBA

help, which is an optional part of they Office installation.

No, I don''t use MS windows. I need to generate Excel file by printing

data to it, just like Perl module Spreadsheet::WriteExcel.

thanks

Sam

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值