- 博客(5)
- 收藏
- 关注
转载 4. UnboundLocalError
#!/usr/bin/python3#-*- coding:utf-8 -*-import timelocalTime = 120def getTime(): strTime = time.time() n = 1 while n < 5: time.sleep(1) n += 1 ...
2018-03-23 11:15:00
164
转载 3.引用
转自:http://www.cnblogs.com/turtle-fly/p/3280519.html本文环境:Python2.7使用 print obj 而非 print(obj)sys.stdin,sys.stdout,sys.stderr: stdin , stdout , 以及stderr 变量包含与标准I/O 流对应的流对象. 如果需要更好地控制输出,而print ...
2018-03-15 11:11:00
132
转载 进程的daemon属性
Tutorial解释: daemonThe process’s daemon flag, a Boolean value. This must be set before start() is called.The initial value is inherited from the creating process.When a process exits, ...
2018-03-12 20:42:00
347
转载 2.python交互界面,方向键及Ctrl+L不能使用的解决方法
1.安装一个python3libreadline-dev库sudoapt-getinstalllibreadline-dev2. 重新安装python3转载于:https://www.cnblogs.com/Darren-Dai/p/8513333.html
2018-03-06 11:21:00
288
转载 1.ubuntu12.04 python3安装
1. 登录https://www.python.org/ ---Downloads--All released2.下周对应operating system为 source release的包3.解压后进入解压包安装./configuremakemake testsudo make install转载于:https://www.cnblogs.com/Darre...
2018-03-06 11:18:00
109
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人