Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

        def getMachine():
    import socket
    return unicode(socket.getfqdn(), 'utf-8')
        


src/p/y/pyphant1-HEAD/src/pyphant/pyphant/core/DataContainer.py   pyphant1(Download)
    def __init__(self, longname, shortname, attributes=None):
        self.longname = longname
        self.shortname = shortname
        self.machine = Helpers.getMachine()
        self.creator = Helpers.getUsername()

src/p/y/pyphant-1.0b3/pyphant/core/DataContainer.py   pyphant(Download)
    def __init__(self, longname, shortname, attributes=None):
        self.longname = longname
        self.shortname = shortname
        self.machine = Helpers.getMachine()
        self.creator = Helpers.getUsername()