fixed broken simple.py

Used C++ function name instead of python one.