View Single Post
Old 07-22-2011, 01:01 PM   #91
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 71,367
Karma: 305065800
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
Quote:
Originally Posted by siebert View Post
Sorry, but using strings with delimiters would be a very unpythonic solution.
I agree with this. I hate the idea of concatenating arbitrary strings with some fixed delimiter.

I would have thought that making them all lists was actually quite a simple and clean solution, even if most of them end up as a list of just one item. Surely python handles single item lists fairly efficiently?
pdurrant is offline   Reply With Quote