Donate to support Ukraine's independence.

05 Mar'12

Python hostname

from socket import gethostname

print gethostname()

if 'prod' in gethostname:
    pass

Comments