A package that converts between binary, hexadecimal, decimal and octal.
This module allows you to convert binary, hexadecimal, decimal and octal (base16, base2, base10 and base8) numbers between one another.
The functions setup within this module are as follows:
Conversion from binary
binHex(number) binDec(number) binOct(number)
Conversion from hexadecimal
hexBin(number) hexDec(number) hexOct(number)
Conversion from decimal
decBin(number) decHex(number) decOct(number)
Conversion from octal
octBin(number) octHex(number) octDec(number)
How to use the functions properly
- Conversion from binary - You do not need to have at least 8 bits of information and you can have more than 8.
- Conversion from hexadecimal - You do not need to have "0x" before the hexadecimal value.
- Conversion from decimal - You can enter any integer you want.
- Conversion from octal - You do not have to have "0o" before the octal value.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Hashes for BinHexDecOctConversions-1.2.tar.gz
Hashes for BinHexDecOctConversions-1.2-py3-none-any.whl