cut strings and parse for images

Andreas Volz usenet-spam-trap at brachttal.net
Mon Dec 6 23:41:41 CET 2004


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 python and not able to
create a minimum example. Could you please give me a very small example
how to use urlparse? Or point me to an example in the web?

regards
Andreas



More information about the Python-list mailing list