Message159624
-1. str.format already does this quite effectively; I don't see a real need to complicate the bin, hex and oct signatures.
>>> '{:016b}'.format(324)
'0000000101000100'
>>> '{:016o}'.format(324)
'0000000000000504'
>>> '{:016x}'.format(324)
'0000000000000144' |
|
Date |
User |
Action |
Args |
2012-04-29 16:15:22 | mark.dickinson | set | recipients:
+ mark.dickinson, endolith |
2012-04-29 16:15:22 | mark.dickinson | set | messageid: <1335716122.04.0.195673875501.issue14694@psf.upfronthosting.co.za> |
2012-04-29 16:15:21 | mark.dickinson | link | issue14694 messages |
2012-04-29 16:15:21 | mark.dickinson | create | |
|