Skip to content

This repository contains a collection of Python scripts designed to perform temperature conversions between Celsius and Fahrenheit using both command-line and graphical interfaces. The main script, temp_convert_gui.py, provides a user-friendly graphical interface for conversions, while the other scripts offer command-line functionality.

Notifications You must be signed in to change notification settings

qtle3/temp_converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Temperature Conversion Project

This repository contains Python scripts for converting temperatures between Celsius and Fahrenheit. The project includes both command-line and graphical interfaces.

Overview

  • Command-Line Interface (temp_convert.py):

    • Converts temperatures between Celsius and Fahrenheit.
    • Supports both conversion directions with interactive prompts.
  • Graphical User Interface (temp_convert_gui.py):

    • Provides a GUI for converting Celsius to Fahrenheit using the graphics.py module.
    • Features input fields, buttons, and real-time feedback for conversions.
    • Includes "Convert It" and "Quit" buttons for user interaction.
  • Custom Graphics Library (graphics.py):

    • Used to create the GUI with basic drawing functions for windows, text, and shapes.

Getting Started

Prerequisites

  • Python: Ensure Python is installed on your system.
  • graphics.py: Include this file in the same directory as the scripts.

Running the GUI Application

  1. Clone the repository:

    git clone https://github.com/qtlee/temp_converter.git
    cd temp_converter
    

About

This repository contains a collection of Python scripts designed to perform temperature conversions between Celsius and Fahrenheit using both command-line and graphical interfaces. The main script, temp_convert_gui.py, provides a user-friendly graphical interface for conversions, while the other scripts offer command-line functionality.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages