Stupid string.split question
eppstein at ics.uci.edu
Wed Aug 6 20:27:16 CEST 2003
In article <3f314721$0$3936$b45e6eb0 at senator-bedfellow.mit.edu>,
Brian Kelley <bkelley at wi.mit.edu> wrote:
> It seems that if you can join with an empty seperator, you should be
> able to split with one.
> I suppose the pythonic way is [x for x in "ABCDEF"] which doesn't make
> as much sense to be.
Wouldn't list("ABCDEF") be even more Pythonic?
David Eppstein http://www.ics.uci.edu/~eppstein/
Univ. of California, Irvine, School of Information & Computer Science
More information about the Python-list