在Python 2.x的版本中有一个名为函数PyString_AS_STRING到的PyObject指针转换为字符串或字符指针。
我们如何在python 3中实现相同的功能?
python
python ×1