Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7728347
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T05:41:40+00:00 2026-06-01T05:41:40+00:00

I am trying to get Network Statistics for my Windows 7 system using PyWin32

  • 0

I am trying to get Network Statistics for my Windows 7 system using PyWin32.

The steps I followed:

1) Run COM MakePy utility and than select network list manager 1.0
type library
under type library.

2) Above process generated this python file.

Now the problem I am facing is after the above two steps what should be my next step. I tried a couple of things like:

I copied the CLSID = IID('{DCB00000-570F-4A9B-8D69-199FDBA5723B}') line from the above generated python file and used it like

>>> import win32com
>>> obj = win32com.client.gencache.GetClassForCLSID("{DCB00000-570F-4A9B-8D69-199FDBA5723B}")
>>> obj.GetConnectivity()
Traceback (most recent call last):
  File "<interactive input>", line 1, in <module>
TypeError: unbound method GetConnectivity() must be called with INetworkListManager instance as first argument (got nothing instead)

When I do obj.method() it show a list of all available method.

enter image description here

So, now I have no idea what to do or how to proceed and what is the general process of using Type library with pywin32.

The above task is just a part of learning process on how to use PyWin32,COM MakePy utility.

Is this even achievable using pywin32.?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T05:41:41+00:00Added an answer on June 1, 2026 at 5:41 am

    You’ll need to use win32com.client.Dispatch to actually create the object.
    Also, the class you start with is the CoClass, in this case

    class NetworkListManager(CoClassBaseClass): # A CoClass
    

    is the one you want.

    win32com.client.Dispatch('{DCB00C01-570F-4A9B-8D69-199FDBA5723B}')
    

    works here.

    Many of these Dispatch classes have a human readable dotted name as an alias, although
    this particular one doesn’t seem to.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hi am trying get GPS using network provider and GPS provider. but am getting
I'm trying to get a WCF service set up on our server using windows
I'm using virtualbox and trying to get my centos6 virtual machine onto the network.
I'm trying to get the label of some network resources mapped as drives. When
I am trying to get a list of local network computers. I tried to
I've got a Sony network camera (SNC-RZ25N) that I am trying desperately to get
I get following error when trying to access Xampp from a network I've tried
I'm trying get values from a GridView using the following code: foreach (GridViewRow row
I am trying get all html links within a string and replace them using
I am trying get all html links within a string and replace them using

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.