Bob Ippolito wrote: > It would absolutely help if there was an obvious way to get a string > of 1s and 0s out of an integer given the number of bits you want to > write it as
The obvious thing would be "%bm.n" % i where n = maximum number of bits. -- Greg _______________________________________________ Python-3000 mailing list [email protected] http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com
