Am Tue, 07 Dec 2004 00:40:02 GMT schrieb Paul McGuire:
> Is this in the ballpark of where you are trying to go?
Yes, thanks. You helped me a lot.
Andreas
--
http://mail.python.org/mailman/listinfo/python-list
"Andreas Volz" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Am Mon, 06 Dec 2004 20:36:36 GMT schrieb Paul McGuire:
>
> > Check out the urlparse module (in std distribution). For images, you
> > can provide a default addressing scheme, so you can expand
> > "images/marine.jpg" rela
Am Mon, 06 Dec 2004 20:36:36 GMT schrieb Paul McGuire:
> Check out the urlparse module (in std distribution). For images, you
> can provide a default addressing scheme, so you can expand
> "images/marine.jpg" relative to the current location.
Ok, this looks good. But I'm a really newbie to pytho
Andreas Volz wrote:
Hi,
I used SGMLParser to parse all href's in a html file. Now I need to cut
some strings. For example:
http://www.example.com/dir/example.html
Now I like to cut the string, so that only domain and directory is
left over. Expected result:
http://www.example.com/dir/
I know how
"Andreas Volz" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> I used SGMLParser to parse all href's in a html file. Now I need to cut
> some strings. For example:
>
> http://www.example.com/dir/example.html
>
> Now I like to cut the string, so that only domain and directory i
Hi,
I used SGMLParser to parse all href's in a html file. Now I need to cut
some strings. For example:
http://www.example.com/dir/example.html
Now I like to cut the string, so that only domain and directory is
left over. Expected result:
http://www.example.com/dir/
I know how to do this in ba