ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> python-win32
python-win32
RE: [python-win32] ActiveSheets and excel
by Tim Golden other posts by this author
Sep 29 2004 8:15AM messages near this date
RE: [python-win32] EventLog Parsing | [python-win32] win32com, excel and wx
| I found documentation for this (FINALY) look up info on "Application
| Object" that is returned by the OnConnection method.
| It is in the MSDN and im sure on the net.
| Hope this saves some one else a couple of hours someday. 
| :-)
| 
| 
| On Wed, 29 Sep 2004 12:34:36 +0200, Graeme Glass 
| <graemeglass@[...].com>  wrote:
| >  I have been  playing around with the "application" Object 
| but with no joy.
| >  
| >  How am i able to find out what methods are available to the
| >  "application" object?
| >  I have been looking in the msdn and google but only seem to 
| be able to
| >  find things that pertain to what i can do with a dispatched object
| >  ie(o= win32com.client.Dispatch("Excel.Application")

Don't know if this is exactly what you're after, but
if win32com.client has generated a proxy module for a 
COM object, you can either look at the module in your
gen_py directory (eg c:\python23\lib\site-packages\gen_py)
or you can simply run help on the corresponding class.
This has the slight advantage of showing you *in Python
terms* what parameters are expected.

<code> 
import win32com.client

xl = win32com.client.gencache.EnsureDispatch ("Excel.Application")
help (xl.__class__)

</code> 

TJG

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
_______________________________________________
Python-win32 mailing list
Python-win32@[...].org
http://mail.python.org/mailman/listinfo/python-win32

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved