Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

README.md

Unit Converter

A Simple Python Script to help convert values within their Metric systems.

Installation

  • Install Python if you already haven't.

Usage

python3 unit_converter.py -f <from_type> -t <to_type> <value>
usage: unit_coverter.py [-h] -f FROM_TYPE -t TO_TYPE value

positional arguments:
  value                 The value to convert.

options:
  -h, --help            show this help message and exit
  -f FROM_TYPE, --from_type FROM_TYPE
                        The Metric unit type to Convert from.
  -t TO_TYPE, --to_type TO_TYPE
                        The Metric unit type to Convert to.