Hostname

J

jonas.bruechner

Hi
Iam new in Python.
I want to know for my first Project in Python how i can get the
Hostname from a URL?
Thanks for Help
 
A

Alex Martelli

Wow! This was a fast answer and it works.

That's why we used to joke about Guido's time machine: somebody would
express a need (sometimes phrased as a suggestion for an enhancement),
and Guido would zip back in time and implement the needed functionality
_before_ the request...;-)


Alex
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,776
Messages
2,569,603
Members
45,187
Latest member
RosaDemko

Latest Threads

Top