Re: getting absolute path ?

2008-01-10 Thread Stef Mientki
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

Re: getting absolute path ?

2008-01-09 Thread kyosohma
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

getting absolute path ?

2008-01-09 Thread Stef Mientki
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='