thanks Mike,
with your links I managed to write some code that seems to work well.
Still I stay surprised that these kind of functions are not available ;-)
cheers,
Stef
[EMAIL PROTECTED] wrote:
> On Jan 9, 3:22 pm, Stef Mientki <[EMAIL PROTECTED]> wrote:
>
>> hello,
>>
>> I'm trying to conver
On Jan 9, 3:22 pm, Stef Mientki <[EMAIL PROTECTED]> wrote:
> hello,
>
> I'm trying to convert the links in html pages to absolute links,
> these pages can either be webpages or files on local harddisk (winXP).
> Now I've struggling for a while, and this code works a lilttle:
>
> i = line.find
hello,
I'm trying to convert the links in html pages to absolute links,
these pages can either be webpages or files on local harddisk (winXP).
Now I've struggling for a while, and this code works a lilttle:
i = line.find ( 'href=' )
if i < 0 :
i = line.find ( ' src='