Description
This is a simple ["Powerful Python One-Liners"]. It prints the systems's hostname to the screen.
Code
from socket import gethostname; print gethostname()
This is a simple ["Powerful Python One-Liners"]. It prints the systems's hostname to the screen.
from socket import gethostname; print gethostname()
Unable to edit the page? See the FrontPage for instructions.