On Sat, Jan 31, 2009 at 4:09 PM, David <ld...@gmx.net> wrote:
> Dear list,
>
> many thanks for all your help - much appreciated.
> Today I have continued reading Harrington, and produced the following code,
> which works flawlessly.
> I wonder, though, how I could join all the supplied words with underscores
> _without_ making use of split first? This I didn't manage.
>
> Thanks for your ideas!


seq.replace(' ','_')


-- 
André Engels, andreeng...@gmail.com
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to