Changing every other instance of <B> in a file
Lars Klæboe
larskl at klassekampen.no
Tue Mar 27 09:28:24 EST 2001
On Tue, 27 Mar 2001 05:56:26 -0800, "Emile van Sebille" <emile at fenx.com>
wrote:
>Here's one way (although I'm interested to see how re might do this):
[--- interresting code ---]
This is another (fancier ;)) implementation of the solution I've
been working on, but I still refuse to believe that the script has
to be this elaborate/big. *twisting my tired gray matter*
I guess re would do the trick (at least if combined with a simple
loop, I'll look into it when I'm really awake.
Thanks for your input !
--
Lars Klæboe
More information about the Python-list
mailing list