Python
  Home arrow Python arrow Windows Programming in Python
Dev Shed Forums 
Administration  
Apache  
BrainDump  
DHTML  
Flash  
Java  
JavaScript  
Multimedia  
MySQL  
Oracle  
Perl  
PHP  
Practices  
Python  
Reviews  
Security  
Style-Sheets  
Web Services  
XML  
Zend  
Zope  
Forums Sitemap 
IBM® developerWorks 
Dedicated Servers 
E-Commerce Hosting 
Linux Web Hosting 
Managed Hosting 
Small Business Hosting 
Download TestComplete 
VPS Hosting 
Weekly Newsletter

 
Developer Updates  
Free Website Content 
IBM Developerworks
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
PYTHON

Windows Programming in Python
By: A.P.Rajshekhar
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 24
    2006-04-19

    Table of Contents:
  • Windows Programming in Python
  • What is COM?
  • Calling COM components from Python
  • COM Programming in Python, in the Real World

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    CIO Insight
     
    ADVERTISEMENT

    PCmover - $15 Off with Coupon Code CJPH7Q

    Windows Programming in Python
    (Page 1 of 4 )

    This article shows you how to call COM components from Python, and shows you how to use COM extensions to access the mail merge functionalities of MS Word in Python.

    Generally system programming is considered to be the domain of compiled languages, especially when the system under consideration is MS Windows. However there are always exceptions to the general rule. When the scripting language in consideration is of the caliber of Python, the exception is more profound.

    Python gets its caliber from the fact that for each platform there is a specific set of extensions, using which the full potential of the host system can be completely tapped into. Also there are no "semantics" or syntactic changes required when using these extensions. Thus the developer can avail himself of the power of the native APIs without leaving the highly flexible environment of Python.

    The extension to the Windows platform contains three distinct sets of extensions -- the COM extension, access to the native Win32 API, and the PythonWin GUI extensions. In this article, I will be discussing the COM extensions. The first section will provide an overview of the COM technology. The focus of the second section will be the steps involved in using the COM extensions. In the third segment, I will be using the COM extensions to access the mail merge functionalities of MS Word. That is the outline for this discussion.

    More Python Articles
    More By A.P.Rajshekhar


       · COM is the basis of almost all of the window application. In one way or another we...
       · Seems easy. But I had a problem...this is the output I got from...
       · Which version of MS Office are you using
       · You have forgotten "Documents"Correct it has to be:...
     

       

    PYTHON ARTICLES

    - SSH with Twisted
    - Mobile Programming in Python using PyS60: UI...
    - Python: Count on It
    - Python Strings: Spinning Yarns
    - Python: More Fun with Strings
    - Python: Stringing You Along
    - Python Operators
    - Bluetooth Programming in Python: Network Pro...
    - Python Sets
    - Python Conditionals, Lists, Dictionaries, an...
    - Python: Input and Variables
    - Introduction to Python Programming
    - Mobile Programming in Python using PyS60: Ge...
    - Bluetooth Programming using Python
    - Finishing the PyMailGUI Client: User Help To...

     
    Accelerating Trading Partner Performance
     
    Competing on Analytics
     
    Cost Effective Scaling with Virtualization and Coyote Point Systems
     
    Five Checkpoints to Implementing IP Telephony
     
    Hosted Email Security: Staying Ahead of New Threats
     




    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway