String manipulation
marco.minerva at gmail.com
marco.minerva at gmail.com
Thu Apr 5 05:42:34 EDT 2007
On 4 Apr, 21:47, Alexander Schmolck <a.schmo... at gmail.com> wrote:
> marco.mine... at gmail.com writes:
> > Thank you very much, your code works perfectly!
>
> One thing I forgot: you might want to make the whitespace handling a bit more
> robust/general e.g. by using something along the lines of
>
> set_phrase.replace(' ', r'\w+')
>
> 'as
Hi!
Thanks again... But where must I insert this instruction?
--
Marco Minerva, marco.minerva at gmail.com
http://blogs.ugidotnet.org/marcom
More information about the Python-list
mailing list