How to get the hostname?
Andrew Bennetts
andrew-pythonlist at puzzling.org
Thu Jun 5 05:22:36 EDT 2003
More information about the Python-list mailing list
Thu Jun 5 05:22:36 EDT 2003
- Previous message (by thread): How to get the hostname?
- Next message (by thread): How to get the hostname?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Thu, Jun 05, 2003 at 11:12:36AM +0200, Thomas G?ttler wrote: > Hi! > > Is there a way to get the hostname with python? import socket hostname = socket.gethostname() -Andrew.
- Previous message (by thread): How to get the hostname?
- Next message (by thread): How to get the hostname?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list