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
- Host: GitHub
- URL: https://github.com/comsavvy/perimeter
- Owner: comsavvy
- Created: 2020-11-04T21:36:43.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-03-11T20:46:43.000Z (almost 5 years ago)
- Last Synced: 2025-01-25T15:29:17.626Z (11 months ago)
- Topics: bash-script, distance-calculation, file-processing, perimeter, python
- Language: Python
- Homepage:
- Size: 7.81 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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