textfile: copy between 2 keywords

Jussi Piitulainen harvesting at makes.email.invalid
Thu Sep 10 11:48:41 EDT 2015


Vlastimil Brom writes:

> just to add another possible approach, you can use regular expression

Now you have three problems: whatever the two problems are that you are
alleged to have whenever you decide to use regular expressions for
anything at all, plus all the people piling on you to tell that a Jamie
Zawinski once said that whenever you decide to use regular expressions
to solve a problem, you end up with two problems.

:)



More information about the Python-list mailing list