BConv is a small Python script that converts between numbers in base 2..36.
Usage: bconv [OPTION(S)] [NUMBER(S)]
Options:
-iIBASE, --input-base=IBASE .... input is in base IBASE (2..36)
-oOBASE, --output-base=OBASE ... output is in base OBASE (2..36)
-l, --lower .................... output result in lowercase (*)
-u, --upper .................... output result in uppercase
or
-c, --copyright ................ show copying policy and exit
-h, --help ..................... print this brief help text
-v, --version .................. display version information
Default bases are 10 (decimal).
For convenience, input and output bases can be specified either as a number or as BINary (2), OCTal (8), DECimal (10) or HEXadecimal (16). The characters A through Z corresponds to bases 11..36.
Modelled after a similar program written in C by yours truly in 1996.
Product's homepage
Requirements:
· Python