Toff, 27.10.2009 10:14:
> o = open("output.txt","w")
> data = open(filename).read()
> o.write( re.sub('&(?!amp;|quot;|nbsp;|gt;|lt;|laquo;|
> raquo;|copy;|reg;|bul;|rsquo;)', '&', data) )
> o.close()
> shutil.move
> ("o
sorry for my english
thanks again for your answer ;)
i did that
o = open("output.txt","w")
data = open(filename).read()
o.write( re.sub('&(?!amp;|quot;|nbsp;|gt;|lt;|laquo;|
raquo;|copy;|reg;|bul;|rsquo;)', '&', data) )
o.close
Toff, 27.10.2009 09:15:
> On 27 oct, 09:03, Christian Heimes wrote:
>> Toff wrote:
>>> hello
>>> i can't parse a file with lxml
>>>
>>>
>>>
>>>
>>> http://download.mozilla.org/?
>>> product=firefox-3.5&os=win&lang=fr" />
>>
Toff, 27.10.2009 09:15:
> but does my download url still allways works with & replace by $amp;
Sorry, my English fails to parse that. If that was a question, could you
rephrase it, please?
Stefan
--
http://mail.python.org/mailman/listinfo/python-list
Toff wrote:
> hello
>
> i can't parse a file with lxml
>
>
>
>
>
>
> http://download.mozilla.org/?
> product=firefox-3.5&os=win&lang=fr" />
>
>
> =