摘要: Vamei博客地址:http://www.cnblogs.com/vamei/archive/2012/07/19/2599940.html#!/usr/bin/env python# -*- coding: cp936 -*-'''在快速教程中,我们了解了最基本的序列(sequence)。回忆一下... 阅读全文
posted @ 2015-10-05 11:40 笑面浮屠 阅读(217) 评论(0) 推荐(0) 编辑
摘要: Vamei博客地址:http://www.cnblogs.com/vamei/archive/2012/07/19/2600135.html#!comments请看Vamei博客下面别人的跟帖!有一个record.txt的文档,内容如下:# name, age, scoretom, 12, 86Le... 阅读全文
posted @ 2015-10-05 11:10 笑面浮屠 阅读(281) 评论(0) 推荐(0) 编辑
摘要: 原文地址:http://blog.csdn.net/imzoer/article/details/8701116The processing.Process class follows the API of threading.Thread.上面是python doc的原话。安装processing... 阅读全文
posted @ 2015-10-05 08:29 笑面浮屠 阅读(470) 评论(0) 推荐(0) 编辑
摘要: 原文地址:http://blog.csdn.net/imzoer/article/details/8678029#subprocess的目的就是启动一个新的进程并且与之通信。subprocess模块中只定义了一个类: Popen。可以使用Popen来创建进程,并与进程进行复杂的交互。它的构造函数如下... 阅读全文
posted @ 2015-10-05 08:09 笑面浮屠 阅读(203) 评论(0) 推荐(0) 编辑
摘要: 编辑环境是Sublime Text 2,编辑好程序运行时报错: def os_type(self): ^IndentationError: unindent does not match any outer indentation level选中程序显示... 阅读全文
posted @ 2015-10-05 07:12 笑面浮屠 阅读(158) 评论(0) 推荐(0) 编辑