[Tutor] Search and replace

Sean 'Shaleh' Perry shalehperry@attbi.com
Wed Jan 15 02:45:02 2003


On Tuesday 14 January 2003 18:36, Don Arnold wrote:
>
> >          s =3D string.join(l,';')
>
> Since strings now have a join() method, this line can be rephrased as:
>
> s =3D ';'.join(l)
>
> and you no longer need to bother with importing the string module.
>

unless you like writing code other people can read ............

yes I am still bitter about the .join() method.  I keep trying not to hat=
e it=20
and failing miserably.