win32 question in Python

Cappy2112 cappy2112 at gmail.com
Mon Jul 30 18:58:12 EDT 2007


Hello Brad,

If you don't get a reply here, there is a win32 specific Python list
on ActiveState.com wher ethey do talk about excel & other Win32 python
issues.

On Jul 30, 3:49 pm, Brad Johnson <Brad.John... at ballardtech.com> 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.





More information about the Python-list mailing list