[PYTHON MATRIX-SIG] Array -> String

Konrad Hinsen hinsen@ibs.ibs.fr
Wed, 7 May 1997 16:29:58 +0200


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.
-- 
-------------------------------------------------------------------------------
Konrad Hinsen                          | E-Mail: hinsen@ibs.ibs.fr
Laboratoire de Dynamique Moleculaire   | Tel.: +33-4.76.88.99.28
Institut de Biologie Structurale       | Fax:  +33-4.76.88.54.94
41, av. des Martyrs                    | Deutsch/Esperanto/English/
38027 Grenoble Cedex 1, France         | Nederlands/Francais
-------------------------------------------------------------------------------

_______________
MATRIX-SIG  - SIG on Matrix Math for Python

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