Combine file from different directory into one, and sort it, need Python
$30-250 USD
Płatność przy odbiorze
There are 5 directories; each directory contains a file named fruit.log.
- The log files contain continuous time based logs.
- The directory names have been arbitrarily assigned and do not represent the data in order of time.
- We want to reassemble the original [url removed, login to view] file in date/time order.
Please code a solution (In PYTHON 3.5/3.4) that reassembles the original [url removed, login to view] file in proper time order.
Once the file is assembled, get the value of the “Kiwi”. Find the min, max, and average of this value and print it out.
Lastly, write all of the test cases, both positive and negative that you would use to test your program.
Here is what you need to do:
1. combine all log files from all directories into one [url removed, login to view], and sort it as date/time increasing order only, please write proper comment in code
2. find all value of Kiwi, and output min max avg
3. Write positive and negative test cases as many as you can in a spreadsheet, which contains test number, test method and expect result, and indicate it is positive or nega case
Numer ID Projektu: #8215327