摘要:
1 #coding=utf-8 2 3 from twisted.internet import reactor,protocol 4 5 class QuickClient(protocol.Protocol): 6 def connectionMade(self): 7 print dir(self.transport.getPeer()) 8 print "port:%s type:%s "%(self.transport.getPeer().port, self.transport.getPeer().type) 9 pri... 阅读全文
摘要:
input = raw_input('\033[36;1mShell command[q to quit]:\033[0m') 阅读全文