refactoring python
Merge pull request #135 from DerThorsten/master

refactoring python