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.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size BinHexDecOctConversions-1.2-py3-none-any.whl (3.3 kB)||File type Wheel||Python version py3||Upload date||Hashes View hashes|
|Filename, size BinHexDecOctConversions-1.2.tar.gz (2.2 kB)||File type Source||Python version None||Upload date||Hashes View hashes|
Hashes for BinHexDecOctConversions-1.2-py3-none-any.whl
Hashes for BinHexDecOctConversions-1.2.tar.gz