python code statistics tool