Converting python string object to c char* using ctypes Converting python string object to c char* using ctypes python-3.x python-3.x