where is the PyString_AsString in Python 3.0?

BigHand heweiwei at gmail.com
Fri Mar 6 15:29:59 CET 2009


On 3月6日, 下午8时50分, Benjamin Peterson <benja... at python.org> wrote:
> BigHand <heweiwei <at> gmail.com> writes:
>
>
>
> > Guys:
> > I know that there is no PyString_AsString in Python3.0,
> > could you guys give me instruction about how can I do with the
> > following ?
>
> There is no PyString_AsString. Everything string is unicode now. (PyUnicode API)
hello,Ben,
could you give me an example? I almost know the PyUnicode API,but the
docs of 3.0 is too brief for me.

B.R.
BH



More information about the Python-list mailing list