Re: win32 question in Python
- From: Ali <aafshar@xxxxxxxxx>
- Date: Tue, 31 Jul 2007 10:28:31 -0000
On Jul 30, 11:49 pm, Brad Johnson <Brad.John...@xxxxxxxxxxxxxxx>
wrote:
Huang, Shun-Hsien <shuang <at> ercot.com> writes:
but how do I copy a excel file into
database table by using Python?
I'm not sure if this helps, but you can access the Excel Automation model very
easily with:
import win32com.client
x1 = client.Dispatch("Excel.Application")
Now you can use the x1 object to access any of the properties and methods in the
Excel Automation model.
I have only used this to export data as Excel, but it may fulfill your
needs for importing:
http://sourceforge.net/projects/pyexcelerator/
Ali
.
- References:
- Re: win32 question in Python
- From: Brad Johnson
- Re: win32 question in Python
- Prev by Date: Re: simple string backspace question
- Next by Date: Re: simple string backspace question
- Previous by thread: Re: win32 question in Python
- Next by thread: Help text embedding in C code?
- Index(es):
Relevant Pages
|