[Ivan Van Laningham] | Hi All-- | Tim's wmi stuff looked interesting, so I tried it out, and | now I have a | question. |
[... snip code ...] | The output from the above script (drive d contains cd) is: | | WMI serial D0ADBEE7 3501047527 | | win32api serial -793919769 -793919769 | | | What's the difference between the two serial numbers? Try this: hex (-793919769) You might need to check back on recent discussions here re negative / positive numbers and hexadecimal. (Short version: we used to treat hex numbers with the top bit set as negative decimal numbers; now only negative hex numbers are negative decimals) TJG ________________________________________________________________________ This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________ -- http://mail.python.org/mailman/listinfo/python-list