BinHexDecOctConversions-1.2
توضیحات
A package that converts between binary, hexadecimal, decimal and octal.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | BinHexDecOctConversions-1.2 |
| نام | BinHexDecOctConversions |
| نسخه کتابخانه | 1.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Timothy Bowen |
| ایمیل نویسنده | tbowen2k@gmail.com |
| آدرس صفحه اصلی | https://github.com/TimothyBowen/BinHexDecOctConversions |
| آدرس اینترنتی | https://pypi.org/project/BinHexDecOctConversions/ |
| مجوز | - |
# Binary/Hexadecimal/Decimal/Octal Conversion
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
```python
binHex(number)
binDec(number)
binOct(number)
```
#### Conversion from hexadecimal
```python
hexBin(number)
hexDec(number)
hexOct(number)
```
#### Conversion from decimal
```python
decBin(number)
decHex(number)
decOct(number)
```
#### Conversion from octal
```python
octBin(number)
octHex(number)
octDec(number)
```
###
##### How to use the functions properly
1. **Conversion from binary** - You do not need to have at least 8 bits of information and you can have more than 8.
2. **Conversion from hexadecimal** - You do not need to have "0x" before the hexadecimal value.
3. **Conversion from decimal** - You can enter any integer you want.
4. **Conversion from octal** - You do not have to have "0o" before the octal value.
نحوه نصب
نصب پکیج whl BinHexDecOctConversions-1.2:
pip install BinHexDecOctConversions-1.2.whl
نصب پکیج tar.gz BinHexDecOctConversions-1.2:
pip install BinHexDecOctConversions-1.2.tar.gz