hg wrote: > Dan Bishop wrote: >> def unsigned(n): >> return n & 0xFFFFFFFF > > or abs(-1) ? Nah! Bitwise operators are cool. ;) Though ANDing won't make the int unsigned. Regards, Björn -- BOFH excuse #23: improperly oriented keyboard