Skip to content

For now, a mile to kilometer converter using python and Tkinter for the GUI.

Notifications You must be signed in to change notification settings

Samaro1/Converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Miles to Kilometers Converter

A simple Tkinter-based GUI application that converts miles to kilometers.

Features

  • User-friendly interface using Tkinter
  • Allows users to input miles and get the equivalent value in kilometers
  • Displays results in a disabled text box to prevent accidental edits
  • Error handling for invalid inputs

How It Works

  1. Enter a numeric value in the Miles input field.
  2. Click the Calculate button.
  3. The equivalent value in kilometers is displayed in the result field.
  4. Handles incorrect inputs by displaying "Invalid Input".

Code Structure

  • upper Frame: Contains the input field, labels, and result display.
  • lower Frame: Contains the Calculate button.
  • update_text(): Converts miles to kilometers and updates the result field.

Future Updates

  • Want to make it more than just a mile to kilometer converter but also vice versa and stretch far more than just distance

About

For now, a mile to kilometer converter using python and Tkinter for the GUI.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages