[Pythonmac-SIG] Getting Sharing name of the Macintosh via Python?

Schollnick, Benjamin Benjamin.Schollnick at xerox.com
Wed Aug 3 21:21:53 CEST 2005


Folks,

Anyone have any idea on how to get the Machine Name from the Sharing
Preference pane?
The only real solution that I have thought up is to find the plist and
read it from there....

I could use Socket to get the TCPIP name, but in this case, that is a
DHCP name, and wouldn't help me figure out who's system it is...

Any one know which plist contains the share name?  And possibly a better
way to find the computers name?

		- Benjamin


More information about the Pythonmac-SIG mailing list