[Python-talk] recognizing XP systems
Bill McGonigle
bill at bfccomputing.com
Mon Apr 17 11:21:39 EDT 2006
On Apr 14, 2006, at 16:55, Bill Sconce wrote:
> Hm. Tougher than it looks.
>
> The Library Reference and MartelliBible (the Nutshell) both say you'll
> get 'nt'. The Nutshell says specifically, "'nt' (all kinds of 32-bit
> Windows platforms)" (p 172).
interestingly on Win2K3 I don't get a result for os.uname(). Other os.
methods work OK.
os.name gives 'nt'
sys.platform gives 'win32'
platform.platform() gives 'Microsoft-Windows-32bit-WindowsPE'
-----
Bill McGonigle, Owner Work: 603.448.4440
BFC Computing, LLC Home: 603.448.1668
bill at bfccomputing.com Cell: 603.252.2606
http://www.bfccomputing.com/ Page: 603.442.1833
Blog: http://blog.bfccomputing.com/
VCard: http://bfccomputing.com/vcard/bill.vcf
More information about the Python-talk
mailing list