computing with characters

Carl Banks pavlovevidence at gmail.com
Wed Apr 30 13:58:45 EDT 2008


On Apr 30, 6:47 am, Duncan Booth <duncan.bo... at invalid.invalid> wrote:
> Torsten Bronger <bron... at physik.rwth-aachen.de> wrote:
> > The biggest ugliness though is ",".join().  No idea why this should
> > be better than join(list, separator=" ").  Besides, ",".join(u"x")
> > yields an unicode object.  This is confusing (but will probably go
> > away with Python 3).
>
> It is only ugly because you aren't used to seeing method calls on string
> literals.

I'm used to seeing it and I think it's ugly.  Too terribly convenient
to not use, though (which is why I'm used to seeing it).


Carl Banks



More information about the Python-list mailing list