[Python-Dev] UUID module
Ka-Ping Yee
python-dev at zesty.ca
Tue Jun 13 01:52:16 CEST 2006
On Mon, 12 Jun 2006, Giovanni Bajo wrote:
> GetSystemDirectory() is the official way to find the system directory.
You're right. I've added a call to GetSystemDirectory, with a fallback
to the usual locations if it doesn't work.
> Another thing that you might do is to drop those absolute system
> directories altogether. After all, ipconfig should always be in the path.
Yup, that's why '' is the first item in the list of directories to try.
> As a last note, you are parsing ipconfig output assuming an English Windows
> installation. My Italian Windows 2000 has localized output.
Thanks for catching this. I've fixed it in the latest version,
which is now checked in to the trunk.
-- ?!ng
More information about the Python-Dev
mailing list