[Tutor] Write array to Status text

Vicki Stanfield vicki at thepenguin.org
Fri Nov 14 19:10:27 EST 2003


This looks like what I need, but I have to wait until I am in my office
again on Monday to be sure. Thanks.

--vicki
> If your array would really be an array you could use the `tostring'
> method of arrays.
>
>>>> import array
>>>> arr = array.array('c', "I am an array of characters")
>>>> arr[0:4]
> array('c', 'I am')
>>>> arr[0:4].tostring()
> 'I am'
>>>>
>
>
>    Karl
> --
> Please do *not* send copies of replies to me.
> I read the list
>
>
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor
>




More information about the Tutor mailing list