Calling the C++ functions in C-style using python ctypes module and using python getattr(...) method for knowing the names of functions in shared library dynamically