- 博客(5)
- 收藏
- 关注
转载 4. UnboundLocalError
#!/usr/bin/python3 #-*- coding:utf-8 -*- import time localTime = 120 def getTime(): strTime = time.time() n = 1 while n < 5: time.sleep(1) n += 1 ...
2018-03-23 11:15:00
204
转载 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
178
转载 进程的daemon属性
Tutorial解释: daemon The 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
412
转载 2.python交互界面,方向键及Ctrl+L不能使用的解决方法
1.安装一个python3libreadline-dev库 sudoapt-getinstalllibreadline-dev 2. 重新安装python3 转载于:https://www.cnblogs.com/Darren-Dai/p/8513333.html
2018-03-06 11:21:00
344
转载 1.ubuntu12.04 python3安装
1. 登录https://www.python.org/ ---Downloads--All released 2.下周对应operating system为 source release的包 3.解压后进入解压包安装 ./configure make make test sudo make install 转载于:https://www.cnblogs.com/Darre...
2018-03-06 11:18:00
151
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人