[python-win32] How to get Worgroup list?

Karlo Lozovina karlo at mosor.net
Fri Jan 6 01:36:31 CET 2006


I've been Googling around for easiest way to do these three things
withoin a Python script:

- get a list of workgroups on LAN
- get a list of computers in workgroup
- get a list of shares of a computer

And i found next to nothing :(. The best I could do is try to use "net
view" and parse it's output, but that seems really bad to me.

Is there a better and more simple way?

-- 
Karlo Lozovina - Mosor



More information about the Python-win32 mailing list