Extention Module/ list of chars-> string

"Martin v. Löwis" martin at v.loewis.de
Wed Oct 19 15:30:37 EDT 2005


Tuvas wrote:
> A. Change a list of chars to a single string or
> B. Read a list of chars in an extention module

Either is possible, but I recommend to do A:

data = ''.join(data)

Then pass the modified data to the extension module.

Regards,
Martin



More information about the Python-list mailing list