import pythoncom
import win32com.client

# must be 0
context = pythoncom.CreateBindCtx(0)

# Get Running Object Table
running_coms = pythoncom.GetRunningObjectTable()

# Create an enumerator that can list all the monikers in our table
monikers = running_coms.EnumRunning()

# Loop through all the monikers
for moniker in monikers:

    print('-'*100)

    # print the display name
    print(moniker.GetDisplayName(context, moniker))

    # print the hash
    print(moniker.Hash())

    # print is System
    print(moniker.IsSystemMoniker())

# now use win32com to see what you can do with the com objects on the list
# ThisApplication = win32com.client.gencache.EnsureDispatch('{}')
# help(ThisApplication)
a9a53697cccd5a7a09161cba02aa9916ea48a317
<mask token>

<mask token>
for moniker in monikers:
    print('-' * 100)
    print(moniker.GetDisplayName(context, moniker))
    print(moniker.Hash())
    print(moniker.IsSystemMoniker())

<mask token>
context = pythoncom.CreateBindCtx(0)
running_coms = pythoncom.GetRunningObjectTable()
monikers = running_coms.EnumRunning()
for moniker in monikers:
    print('-' * 100)
    print(moniker.GetDisplayName(context, moniker))
    print(moniker.Hash())
    print(moniker.IsSystemMoniker())

import pythoncom
import win32com.client
context = pythoncom.CreateBindCtx(0)
running_coms = pythoncom.GetRunningObjectTable()
monikers = running_coms.EnumRunning()
for moniker in monikers:
    print('-' * 100)
    print(moniker.GetDisplayName(context, moniker))
    print(moniker.Hash())
    print(moniker.IsSystemMoniker())

import pythoncom
import win32com.client

# must be 0
context = pythoncom.CreateBindCtx(0)

# Get Running Object Table
running_coms = pythoncom.GetRunningObjectTable()

# Create an enumerator that can list all the monikers in our table
monikers = running_coms.EnumRunning()

# Loop through all the monikers
for moniker in monikers:

    print('-'*100)

    # print the display name
    print(moniker.GetDisplayName(context, moniker))

    # print the hash
    print(moniker.Hash())

    # print is System
    print(moniker.IsSystemMoniker())

# now use win32com to see what you can do with the com objects on the list
# ThisApplication = win32com.client.gencache.EnsureDispatch('{}')
# help(ThisApplication)