> > struct.pack( 'i', yourinteger ) > > Enjoy, > Mike Interesting how ambiguous "convert to binary is". I assumed he meant "print an integer variable as a base-2 (binary) string representation". ;-) Warren