1 2 3 4 5 6
# -*- coding: utf-8 -*- import logging def hostypeprint(systemconfig): print "hostran" print systemconfig["Hostipeth0"]