Karlo Lozovina wrote: > Is there some Pythonic way of doing this? If you need to query for workgroups from pure Python (because you're running under Linux, for example), search the web for the source package of PySMB. That's a pure Python implementation of (parts of) the SMB protocol. It has been abandoned by it's author, as it seems, but IIRC the last version I used worked like a charm for exactly what you're trying to do with it.
--- Heiko. -- http://mail.python.org/mailman/listinfo/python-list