码迷,mamicode.com
首页 >  
搜索关键字:python queue pipe    ( 144597个结果)
cocos2d-x 3.0正式版 环境搭建 (解决载入失败,未能载入XXX包)
cocos2d-x 3.0正式版最终公布了~ 等了好久~废话不多说,直接写方法.1.下载安装vc2012 ,我用的是旗舰版,传送门:点击打开链接2.下载cocos2d-x 3.0正式版,传送门:点击打开链接3.下载安装python,传送门:点击打开链接4.设置环境变量好后,打开cocos2d-x安装...
分类:其他好文   时间:2014-07-29 13:30:38    阅读次数:253
Python 获取Twitter用户的所有的friends和followers
Python 获取Twitter用户的所有的friends和followers...
分类:编程语言   时间:2014-07-29 13:19:24    阅读次数:300
使用python向Redis批量导入数据
1.使用pipeline进行批量导入数据 class Redis_Handler(Handler): def connect(self): #print self.host,self.port,self.table self.conn = Connection(self.host,self.port,self.table) def execute(self, acti...
分类:编程语言   时间:2014-07-29 13:06:56    阅读次数:394
PyGObject笔记1——用Python写图形界面
PyGObject is a Python extension module that gives clean and consistent access to the entire GNOME software platform through the use of GObject Introspection. PyGObject provides full support of GObject Introspection and all of its features (callbacks, GVari...
分类:编程语言   时间:2014-07-29 13:04:47    阅读次数:343
swift 为什么那么火?
首先swift已经很火爆了,刚出来就当月排名16位。他为什么这么火? 是因为苹果这个品牌?还是其他原因? 作为码农(工作15+),我谈谈我的个人见解。 PC端开发语言有很多优秀的:JavaScript,Python,Ruby。  而移动端,Android 用的Java,速度慢,再加上没有任何新鲜感。 iOS,用的Objective-C;速度不慢,但是语法还不够简洁。 Swift出现...
分类:其他好文   时间:2014-07-29 12:55:47    阅读次数:385
Python2.7.3学习-第一个程序Hello Python World
Hello World 每学一门语言开始的第一程序都是Hello World ,当然了Python也不例外,下面开始我们的Python第一个程序编写:1,命令行: (1)打开终端,输入python,则进入了Python环境 (2)语法:print() 输入命令:print('Hello World....
分类:编程语言   时间:2014-07-29 12:36:26    阅读次数:228
python加密解密
转自:[Python] 字符串加密解密 作者:lovebread1. 最简单的方法是用base64:importbase64s1=base64.encodestring('helloworld')s2=base64.decodestring(s1)prints1,s2#aGVsbG8gd29ybGQ...
分类:编程语言   时间:2014-07-29 12:27:46    阅读次数:539
python技巧
列表解析语法:[exprforiter_variniterable][exprforiter_variniterableifcond_expr]如果是有类的情况下,可以使用classPerson(object):9def__init__(self,name,age=0):10self.name=na...
分类:编程语言   时间:2014-07-29 12:12:06    阅读次数:254
python 的 class
虽然python OOP 是可选的,但是尽可能使用OOP, 可以让你的代码更精简,容易理解。python 中大多数OOP故事, 都可简化为这个表达式:object.attribute类的建立使用class 语句类中的赋值语句对应属性类中的函数对应方法每次从类中产生实例时, python 会自动调用_...
分类:编程语言   时间:2014-07-29 11:36:36    阅读次数:249
python学习第二天:数字与字符串转换及逻辑值
1.数字与字符串的转化 #1.数字转字符,使用格式化字符串: *1.demo = ‘%d’ % source *2.%d整型;%f 浮点型 ;%e科学计数 *3.int('source') #转化为int型 #2.字符串转化为数字 *1.导入string :import str...
分类:编程语言   时间:2014-07-29 11:34:16    阅读次数:234
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!