免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库

动态

2016-08-09

2016-07-27

  • tanjiyong138 发表了新话题 2016-07-27 17:23
    管道popen2
    out1,in1 = popen2.popen2("cmd") in1.write(str) in1.close() ret = out1.read() out1.close()

2016-07-04

2016-07-01

2016-06-30

2016-05-06

  • tanjiyong138 发表了新话题 2016-05-06 18:01
    getaddrinfo报错
    File "/lib/python2.7/socket.py", line 555, in create_connection for res in getaddrinfo(host, port, 0, SOCK_STREAM): error: getaddrinfo() arg ...

2016-04-05

2016-01-22

2016-01-19

2016-01-15

2015-08-29

2015-05-30

2015-05-29

2015-05-28

2015-04-22

  • tanjiyong138 发表了新话题 2015-04-22 09:54
    【转载】python备份
    最近寫了Backup, Search程序如果寫的不好,希望大家能夠教導我 http://bbs.chinaunix.net/forum.php?mod=viewthread&tid=4055408&fromuid=20735106

2015-04-21

2015-04-13

2015-03-28

  • tanjiyong138 发表了新话题 2015-03-28 18:24
    设置linux别名自启动
    # cat /etc/sysconfig/network/ifcfg-eth0 BOOTPROTO='static' BROADCAST='' ETHTOOL_OPTIONS='' IPADDR='1.1.1.1/23' LABEL_1='1' IPADDR_1=' ...

2014-06-26

  • tanjiyong138 发表了新话题 2014-06-26 16:10
    字符统计
    while read a;do i=0; j=${#a}; while [ $i -lt $j ]; do echo ${ai:1}; let i+=1; done; done | sort | uniq -c

2014-06-16

2014-06-13

2014-06-11

2014-06-09

2014-05-04

2014-04-30

2013-11-01

2013-10-31

2013-10-12