Function SWIG_Python_str_AsChar (and its counterpart SWIG_Python_str_DelForPy3) are used to return a char* for whatever Python object handed in -- unifying this for both Python 2 and Python 3. In ...
Since it inherits std::string, it can be handled like std::string. Think that you can use python's str type method with std::string. For more detailed usage of this library, please refer to ...