Re: Get OS name

2005-04-15 Thread A.B., Khalid
codecraig wrote: > my requirements for getting the OS info havent changed. My first > message says "How can I get the OS Name, such as "Windows XP Pro"." > that's what I wanted all along. > > thanks for the information anyway, i believe platform is better than my > previous approach. > > thank

Re: Get OS name

2005-04-15 Thread codecraig
my requirements for getting the OS info havent changed. My first message says "How can I get the OS Name, such as "Windows XP Pro"." that's what I wanted all along. thanks for the information anyway, i believe platform is better than my previous approach. thanks -- http://mail.python.org/m

Re: Get OS name

2005-04-15 Thread Fredrik Lundh
"codecraig" wrote: > How can I get the OS Name, such as "Windows XP Pro" >i guess i wanted the result in a nice string like Windows XP instead of > 5.1 > > i guess i'll have to convert it myself, thanks your requirements keep changing. to get the OS name in a platform- independent way, use the

Re: Get OS name

2005-04-15 Thread Grant Edwards
On 2005-04-15, codecraig <[EMAIL PROTECTED]> wrote: > where can I get wmi module, it doesnt come with Python right? http://www.google.com/search?q=python+wmi+module -- Grant Edwards grante Yow! ... I want a COLOR at

RE: Get OS name

2005-04-15 Thread Tim Golden
[codecraig] | where can I get wmi module, it doesnt come with Python right? | Sorry, should have said. http://timgolden.me.uk/python/wmi.html TJG This e-mail has been scanned for all viruses by Star. The service is power

Re: Get OS name

2005-04-15 Thread codecraig
where can I get wmi module, it doesnt come with Python right? thanks. -- http://mail.python.org/mailman/listinfo/python-list

Re: Get OS name

2005-04-15 Thread codecraig
i guess i wanted the result in a nice string like Windows XP instead of 5.1 i guess i'll have to convert it myself, thanks -- http://mail.python.org/mailman/listinfo/python-list

RE: Get OS name

2005-04-15 Thread Tim Golden
[rbt] | | codecraig wrote: | > 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. | > | | Read the docs... sys.getwindowsversion() should

Re: Get OS name

2005-04-15 Thread rbt
codecraig wrote: 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. Read the docs... sys.getwindowsversion() should do the trick. AFAIK, there is no way to differentiate bet

Get OS name

2005-04-15 Thread codecraig
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. -- http://mail.python.org/mailman/listinfo/python-list