Merge pull request #1 from calmh/master

Merge
Ignore .pyc

Add a ignore .pyc in gitignore
Added Statistics

Added the last 24h statistics and 24h from endtime
Add a script for obtain statistics file
Add script name
Merge pull request #18 from xaviertorras/master

Added a statistics function and script of exemple