摘要: 多线程的一个实例#coding=utf-8#!/usr/bin/pythonimport time import thread def timer(no, interval): cnt = 0 while cnt<10: time.sleep(interval... 阅读全文
posted @ 2015-02-01 19:37 lishuai0214 阅读(187) 评论(0) 推荐(0) 编辑
摘要: Python不支持空格与制表符混合使用,否则会出现IndentationError: unindent does not match any outer indentation level错误如下: 阅读全文
posted @ 2015-02-01 19:31 lishuai0214 阅读(405) 评论(0) 推荐(0) 编辑