George wrote:
>
[form]
> Monday
> Tuesday
> Wednesday
> Thursday
> Friday
[fillin]
>
> maandag
> dinsdag
> woensdag
[...]
> How can I compare the text in the element tags with the elements
> tags in filling and if they match replace the text within the elements
> tags with the text in the
"George" <[EMAIL PROTECTED]> wrote:
> How can I compare the text in the element tags with the elements
> tags in filling and if they match replace the text within the elements
> tags with the text in the matching element tag of fillin.
> For example Since the text Monday in form matches the Elem
How can I do the following in python:
given two strings:
form="""
My Sample Web Page
What are the weekdays?
Monday
Tuesday
Wednesday
Thursday
Friday
"""
fillin="""
maandag
dinsdag
woensdag
donderdag
vrijdag
zaterdag
zondag
"""
How can I compare the text in the element tags with the