全部博文(108)
发布时间:2014-07-31 17:26:10
我的机器是虚拟机Ubuntu14 step 1:apt-get update step 2:点击(此处)折叠或打开root@localhost:~# apt-get install docker.ioReading package lists... DoneBuilding dependency treeReading state information... Done.........【阅读全文】
发布时间:2014-07-31 11:51:12
点击(此处)折叠或打开>>> m = re.match(r"(?P<first_name>\w+) (?P<last_name>\w+)", "Malcolm Reynolds")>>> m.groupdict(){'first_name': 'Malcolm', 'last_name': 'Reynolds'}>>>.........【阅读全文】
发布时间:2014-07-31 11:10:40
点击(此处)折叠或打开[root@cdn ~]# python -m timeit '"_".join(str(n) for n in range(100))'10000 loops, best of 3: 37.5 usec per loop[root@cdn ~]# python -m timeit '"_".join([str(n) for n in range(100)])'10000 loops, best of 3: 32.6 u.........【阅读全文】
发布时间:2014-07-28 17:12:02
1.sftp IP 报‘Recieved message too long’解决方法:DEBUG:paramiko.transport:[chan 2] Max packet in: 34816 bytesDEBUG:paramiko.transport:[chan 2] Max packet out: 32768 bytesINFO:paramiko.transport:Secsh channel 2 opened.DEBUG:paramiko.transport:[chan 2] Sesch channel 2 request okTraceback (most.........【阅读全文】