Revision 1 as of 2005-12-28 00:36:50

Clear message

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()

Unable to edit the page? See the FrontPage for instructions.