HREF to same server, different port

Loft'sHorrible loft at m6.kom
Thu Jun 14 07:57:01 EDT 2001


Have a look to the "urlparse" module. It will be helpful for your problem.
The solution will be obvious after you read this...

http://www.python.org/doc/current/lib/module-urlparse.html

--Gilles

"Steve Holden" <sholden at holdenweb.com> a écrit dans le message news:
OWi6PtJ9AHA.281 at cpmsnbbsa07...
> Sorry this is off-topic, but I'm trying to create a relative url to a
> different port on the same server (inheriting the server name or address
> from the current URL). I've tried //:8081/ and :8081/ and neither works.
>
> ANyone tell me how?
>
> regards
>  Steve
> --
>
> http://www.holdenweb.com/
>





More information about the Python-list mailing list