Combine file from different directory into one, and sort it, need Python

Ukończone Opublikowano Aug 5, 2015 Płatność przy odbiorze
Ukończone 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

Python

Numer ID Projektu: #8215327

O projekcie

3 ofert Zdalny projekt Aktywny Aug 5, 2015

Przyznany użytkownikowi:

vxflores

I have a lot of experience in python specialty in data processing jobs for freelancer. Also many years of programming experience in several languages and knowledge of good practices, so I think I can do a good job. I r Więcej

$60 USD w ciągu 3 dni
(5 ocen)
3.1

3 freelancerów złożyło ofertę za $62 w tym projekcie

nickd2

This is a very easy task. Right at the moment I am working on a similar task for my research -- I have a series of Python programs that extract various data from the logfiles of some commercial software, save them into Więcej

$77 USD w ciągu 1 dnia
(0 Oceny)
0.0
Eneurona

La propuesta todavía no ha sido proveída

$50 USD w ciągu 3 dni
(0 Oceny)
0.0