Python hostname
from socket import gethostname print gethostname() if 'prod' in gethostname: pass
Category: python
from socket import gethostname print gethostname() if 'prod' in gethostname: pass
Comments