Update pylog.py

Input file as command line argument.