[PYTHON MATRIX-SIG] Array -> String

Jim Hugunin hugunin@mit.edu
Wed, 7 May 1997 10:54:25 -0400


> Has anyone found an efficient method to convert a character array into
> a string? The only solution I could come up with is
> 
>   string = reduce(operator.add, array)
> 
> which is of course terribly inefficient.

array.tostring() doesn't work?

-Jim

_______________
MATRIX-SIG  - SIG on Matrix Math for Python

send messages to: matrix-sig@python.org
administrivia to: matrix-sig-request@python.org
_______________