### Module win32com.client.makepy - Generate a .py file from an OLE TypeLibrary file.

## SYNOPSIS

    # Parent Module
    win32com.client

    # Classes
    AliasItem
    CoClassItem
    DispatchItem
    EnumerationItem
    RecordItem
    UnknownItem
    WritableItem

    # Functions
    def BuildOleItemsFromType(t, numInfos)
    def CheckWriteDispatchBaseClass()
    def CheckWriteImportTypes()
    def CheckWriteOcxBaseClass()
    def MakeClassesFromTypeLib(t, bQuiet = 0, bBuildOCX = 1, bBuildHidden = 0)
    def MakeEventMethodName(eventName)
    def ReportError(msg)
    def WriteAliasWithDeps(aliasDict, item)
    def WriteBaseClass(className)
    def WriteGetMapDelegation(mapName, resTypeStr = "details[0][8]", argsTypeStr = "details[0][2]")
    def WriteSinkEventMap(obj)

    # Variables
    int ENDMARKER = 0
    int ENDMARKER = 0
    int ENDMARKER = 0
    string error = 'makepy.error'
    int ENDMARKER = 0
    int NAME = 1
    string makepy_version = '0.0.97'
    dictionary mapVTToTypeString = {2: 'types.IntType', 3: 't ...

## DESCRIPTION

This module is concerned only with the actual writing of a .py file. It draws on the build module, which builds the knowledge of a COM interface.

### Usage:

makepy [-h] [-x0|1] typelib > fname.py

typelib
  A TLB, DLL, OCX, or possibly something else.
-h
  Generate hidden methods.
-x
  controls generation of OCX information. If ommitted, type library filename is used (eg, if == .ocx)
fname.py
  The name of the generated file. By convention, this file has the same name as the typelib, but with a .py extension

Copyright © Greg Stein, Mark Hammond, Curt Hagenlocher and a few other contributors
All Rights Reserved
Comments to author:
Generated: Sun Apr 20 1997