how to read hardware info on Win NT

Graham Ashton gashton at cmedltd.com
Wed Apr 10 12:56:00 EDT 2002


On Wed, 2002-04-10 at 15:50, Mark Gash wrote:
> import os
> os.system("ipconfig /all > c:\ipdetails.txt")

Only there are issues with os.system interacting strangely with GUIs on
win32 (IIRC) so that might not be ideal for production code. Luckily for
me, I've managed to forget the details....

-- 
Graham Ashton






More information about the Python-list mailing list