string->list->string

Steve Holden sholden at holdenweb.com
Wed Apr 25 15:32:56 EDT 2001


"Courageous" <jkraska1 at san.rr.com> wrote ...
>
> >we might have understood that you really meant mylist=list(alpha).
>
> The wonderful thing about usenet is that you're all but guaranteed to
> be taunted for any idiocy. :)
>
Yeah, well I suppose in that case I'm only passing on what I've justifiably
been the recipient of in the past...

> >Part of your cinfusion could be that you are reading the wrong
> >documentation. The translate used above is the translate method of the
> >string type, not the translate function of the string module
>
> Oh. oh. oh. Yeah. ARG.
>
> Someone also showed me a nice trick with the re module.
>
Gladja-gottit-solved-ly y'rs  - stevE





More information about the Python-list mailing list