摘要: 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... 阅读全文
posted @ 2013-07-24 17:40 践道者 阅读(1556) 评论(0) 推荐(0) 编辑
摘要: input = raw_input('\033[36;1mShell command[q to quit]:\033[0m') 阅读全文
posted @ 2013-07-24 09:49 践道者 阅读(266) 评论(0) 推荐(0) 编辑