Console app to convert different length measures from the metric system.
Clone this repository using the CLI.
git clone https://github.com/syned13/Universal_Translator.git
You should put a .txt file called measures.txt in the proyect root directory
The file should have one conversion information per line, as follows:
magnitude unit targetUnit
anotherMagnitude unit targetUnit
All units should be written following the International Metric System prefix convention. You can find more information here: https://www.nist.gov/pml/weights-and-measures/metric-si-prefixes Remember, units of length
Then you simply execute:
python run.py
A "convertedMeasures" file will be generated.
You can find an example on the "measuresExample.txt" file.
You should have installed python 3.0 or newer.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.