An open API service indexing awesome lists of open source software.

https://github.com/comsavvy/perimeter

File processing
https://github.com/comsavvy/perimeter

bash-script distance-calculation file-processing perimeter python

Last synced: about 2 months ago
JSON representation

File processing

Awesome Lists containing this project

README

          

# Perimeter
This project is about:
* Reading from a files containing points
* Calculating the perimeter of one point to the other
* Finding the maximum and minimum perimeter
* Average length of all the perimeter
* Sum of all the perimeter
* Passing the files from the ```command prompt```
* Saving the return values of the ```summarize points``` to a text file called ```total_output.txt```
* Making sure the ```Point class``` can accept any length of point.

The two available module that can process points are
* perimeter.py
* perimeter.sh ```Bash script``` which depend on ```perimeter.py```

Both of this two file can accept any files containing point, but the main difference is that;
*

perimeter.py will only return the summary to the terminal


while
* perimeter.sh will save the output into ```total_output.txt``` and also display the content to the terminal.

The pattern that was used to generate the current ```total_output.txt``` is

### ./perimeter example* datatest* testing_many_dimension.txt