Get OS name

codecraig codecraig at gmail.com
Fri Apr 15 09:43:15 EDT 2005


How can I get the OS Name, such as "Windows XP Pro".  I know I can do

sys.getwindowsversion but that doesnt return a nice Windows XP Pro
string.

and os.name gives "nt"

thanks.




More information about the Python-list mailing list