rewrite check on python
Merge pull request #36 from AoD314/travis

rewrite check on python