Module Expr Str ImportFrom alias Import alias Import alias FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list ClassDef bases body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad Num body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad ListLoad BinOpMod Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad TupleLoad Str Str Str Str For TupleStore NameStore NameStore NameLoad body If BoolOpAnd NameLoad NameLoad body Expr Call Call NameLoad NameLoad NameLoad NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr attr NameLoad Num decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareNotEq NameLoad Str body Return Call NameLoad AttributeLoad NameLoad attr NameLoad Raise NameLoad BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list
N/A N/A Creation of  Windows shortcuts.

Requires win32all.
 win32com.shell shell N/A pythoncom N/A os open N/A N/A filename N/A N/A N/A Open an existing shortcut for reading.

    @return: The shortcut object
    @rtype: Shortcut
     N/A sc N/A Shortcut N/A N/A N/A sc load filename N/A sc N/A Shortcut N/A N/A N/A A shortcut on Win32.
    >>> sc=Shortcut(path, arguments, description, workingdir, iconpath, iconidx)
    @param path: Location of the target
    @param arguments: If path points to an executable, optional arguments to
                      pass
    @param description: Human-readable decription of target
    @param workingdir: Directory from which target is launched
    @param iconpath: Filename that contains an icon for the shortcut
    @param iconidx: If iconpath is set, optional index of the icon desired
     __init__ N/A N/A self path arguments description workingdir iconpath iconidx N/A None None None None None 0 N/A N/A N/A self _base N/A N/A pythoncom CoCreateInstance N/A shell CLSID_ShellLink None N/A pythoncom CLSCTX_INPROC_SERVER N/A shell IID_IShellLink N/A data N/A map None N/A N/A "%s" N/A N/A N/A os path abspath path arguments description N/A N/A N/A os path abspath workingdir N/A N/A N/A os path abspath iconpath N/A SetPath SetArguments SetDescription SetWorkingDirectory N/A N/A value function data N/A N/A N/A value function N/A N/A N/A N/A getattr self function value N/A iconpath N/A N/A N/A N/A self SetIconLocation iconpath iconidx N/A load N/A N/A self filename N/A N/A N/A Read a shortcut file from disk. N/A N/A N/A N/A N/A N/A self _base QueryInterface N/A pythoncom IID_IPersistFile Load filename N/A save N/A N/A self filename N/A N/A N/A Write the shortcut to disk.

        The file should be named something.lnk.
         N/A N/A N/A N/A N/A N/A self _base QueryInterface N/A pythoncom IID_IPersistFile Save filename 0 N/A __getattr__ N/A N/A self name N/A N/A N/A N/A name _base N/A N/A N/A getattr N/A self _base name N/A AttributeError N/A %s instance has no attribute %s N/A N/A N/A self __class__ __name__ name N/A N/A