Possible memory leak?

Paul Rubin http
Tue Jan 24 18:00:15 EST 2006


Steven D'Aprano <steve at REMOVETHIScyber.com.au> writes:
> row = []
> # processing in a loop...
> row.append(chr(num/64)
> # finished processing
> row = "".join(row)  # convert to a string in one hit
> print row

Probably better to use StringIO or the array module.



More information about the Python-list mailing list