|| at Mar 18, 2004 at 3:03 am
What i meant is that i can select a file over the network but i need
to select the computer name only e.g. homepc, fileserver, etc over
DO i need to use python win32 API?
Checking the wxPython demo, trying to select a computer from the
"Network Neighborhood" or "My Network Places/Computers Near Me" using
the wxDirDialog produces the following error:
Debug: e:\Projects\wx2.4\src\msw\dirdlg.cpp(161): 'SHGetPathFromIDList'
failed with error 0x00000000 (the operation completed successfully.).
It doesn't look like you can overtly select computers from a standard
However, you can:
a = os.popen('net view')
data = a.read()
computers = [line.split('\\') for line in data.split('\n')]
And get a list of computer names.