Skip to content

anyncfunction/BHD-Converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Base Converter with Tkinter

This is a graphical user interface (GUI) application built with Python's tkinter library. The application allows users to convert numbers between different bases, including binary (2), octal (8), decimal (10), hexadecimal (16), base-18, and base-24.

Features

  • Dynamic Base Selection: Users can select the input base from a dropdown menu.
  • Real-Time Input Placeholder: The input field updates its placeholder text based on the selected base.
  • Multi-Base Conversion: Converts the input number to all supported bases simultaneously.
  • Error Handling: Displays "Invalid Input" for incorrect or unsupported inputs.

How to Use

  1. Enter a number in the input field.
  2. Select the base of the input number from the dropdown menu.
  3. Click the "Convert" button to see the results in all supported bases.

Requirements

  • Python 3.x
  • tkinter (comes pre-installed with Python)

How to Run

  1. Clone this repository.

  2. Run the a.py file using Python:

    python a.py
  3. The application window will open, and you can start converting numbers between bases.

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

这是一个使用 Pythontkinter库构建的图形用户界面 (GUI) 应用程序。该应用程序允许用户在不同的进制之间转换数字,包括二进制 (2)、八进制 (8)、十进制 (10)、十六进制 (16)、18 进制和 24 进制。

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages