A simple and intuitive Binary ↔ Decimal Converter built with Python and customtkinter. This application allows users to convert binary numbers to decimal and vice versa, with a clean and user-friendly interface.
- Python 3.x
- customtkinter
- Binary to Decimal Conversion: Enter a binary number and get its decimal equivalent.
- Decimal to Binary Conversion: Enter a decimal number and get its binary equivalent.
- Input Validation: Ensures only valid binary (0s and 1s) or decimal (0-9) numbers are entered.
-
Binary to Decimal:
- Go to the "Binary → Decimal" tab.
- Enter a binary number (e.g.,
1010). - Click "Convert" to see the decimal result.
-
Decimal to Binary:
- Go to the "Decimal → Binary" tab.
- Enter a decimal number (e.g.,
10). - Click "Convert" to see the binary result.
- Python 3.x
customtkinterlibrary
Install the required library using pip:
pip install customtkinter1 - Clone the repository:
git clone https://github.com/mxavier-dev/binary-decimal-converter2 - Navigate to the project directory:
cd binary-decimal-converter3 - Run the application:
(The example uses the English version, but if you are using the Portuguese version, copy the command below and replace EN to PT-BR.)
python3 binary_converter_EN.pyIf display a error 'python3 not found' make sure the python is installed. But if the error persists replace
python3topython
Developed by Matheus de Freitas Xavier • Linkedin Profile