Is there a built-in fuction can convert any type of variable to string?

Ricky store_li at sina.com
Sat Jan 26 12:05:58 EST 2002


I have tried it. Thank you!
"Aahz Maruch" <aahz at panix.com> wrote in message
news:a2s6i9$858$1 at panix2.panix.com...
> In article <a2s5mj$13vqrs$1 at ID-12869.news.dfncis.de>,
> Ricky <store_li at sina.com> wrote:
> >
> >I look around python reference guide, but can't find a function which can
> >convert any type of variable to string type?
> >
> >Is there any one or not?
>
> str()
>
> Look in the Library Reference under "built-in functions".
> --
>                       --- Aahz  <*>  (Copyright 2002 by aahz at pobox.com)
>
> Hugs and backrubs -- I break Rule 6
http://www.rahul.net/aahz/
> Androgynous poly kinky vanilla queer het Pythonista
>
> "I support family values -- Addams family values" --www.nancybuttons.com





More information about the Python-list mailing list