xeno097 / UniversalTranslator

A little console app that allows to convert from a measure unit from another in the metric system

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

UniversalTranslator

A little console app that allows to convert from a measure unit from another in the metric system

How to use it!

Input

The input file must be in the following format:

  • value,input_unit,output_unit,

Example:

  • 125,cm,m,

Output

The program will create a new file named 'output.txt' which will have the following format:

  • value,input_unit,output_unit,output_value

Example:

  • 125,cm,m,1.25

Be sure to move or copy to another folder previosuly created 'output.txt' file or they will be overwritten

Linux/MacOS

  • Create a new folder

  • Right click in your folder

  • Open terminal

  • Run 'git clone https://github.com/xeno097/UniversalTranslator.git' command

  • Once the repository is cloned 'run cd UniversalTranslator/' command

  • Finally run 'python3 MetricUnitConverter <your/file/directory/yourfile.txt>' command

  • Wait for the program to display the 'Completed' message in Terminal

  • Final result

Windows

Part 1

If you have git already installed on your pc ignore these steps

Part 2

If you have python 3.7.3 already installed on your pc please ignore these steps

Part 3

  • Create a new folder on your pc

  • Open CMD

  • Change directory in your folder

  • Run 'git clone https://github.com/xeno097/UniversalTranslator.git' command

  • Once the repository is cloned 'run cd UniversalTranslator/' command

  • Finally run 'python3 MetricUnitConverter <your/file/directory/yourfile.txt>' command

  • Wait for the program to display the 'Completed' message in CMD

  • Final result

About

A little console app that allows to convert from a measure unit from another in the metric system

License:MIT License


Languages

Language:Python 99.9%Language:PowerShell 0.0%Language:Batchfile 0.0%