List to string

Hitesh hitesh287 at gmail.com
Sun Mar 18 00:38:34 EDT 2007


On Mar 18, 12:28 am, "Hitesh" <hitesh... at gmail.com> wrote:
> Hi,
>
> I've a list like this..
> str1 = ['this is a test string inside list']
>
> I am doing it this way.
>
> for s in str1:
>     temp_s = s
>     print temp_s
>
> Any better suggestions?
>
> Thank you,
> hj

I want to cast value of a list into string..




More information about the Python-list mailing list