Re: Naive idiom questions
- From: Paul Rubin <http://phr.cx@xxxxxxxxxxxxxx>
- Date: 31 Jan 2008 14:15:58 -0800
Terran Melconian <te_rem_ra_ove_an_forspam@xxxxxxxxxxxxxx> writes:
I want to be able to accumulate a string with +=, not by going
through an intermediate list and then doing ''.join(), because I
think the latter is ugly. There are also times when I'd like to use
the string as a modifiable buffer.
See the StringIO, cStringIO, and array modules.
l=[[None]*5 for i in range(5)]
This is the usual way.
* Is there a way to get headings in docstrings?
I think this is normally not done.
.
- References:
- Naive idiom questions
- From: Terran Melconian
- Naive idiom questions
- Prev by Date: Re: pyExcelerator - Can I read and modify an existing Excel-WorkBook?
- Previous by thread: Re: Naive idiom questions
- Next by thread: char string 2 hex string
- Index(es):