Hi All-- Tim Golden wrote: > > 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) >
Of course I tried that. Did you? Python 2.4 (#60, Nov 30 2004, 11:49:19) [MSC v.1310 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> hex (-793919769) '-0x2f524119' >>> Metta, Ivan ---------------------------------------------- Ivan Van Laningham God N Locomotive Works http://www.andi-holmes.com/ http://www.foretec.com/python/workshops/1998-11/proceedings.html Army Signal Corps: Cu Chi, Class of '70 Author: Teach Yourself Python in 24 Hours -- http://mail.python.org/mailman/listinfo/python-list