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...
分类:
编程语言 时间:
2014-07-29 13:19:24
阅读次数:
300
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 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已经很火爆了,刚出来就当月排名16位。他为什么这么火?
是因为苹果这个品牌?还是其他原因?
作为码农(工作15+),我谈谈我的个人见解。
PC端开发语言有很多优秀的:JavaScript,Python,Ruby。
而移动端,Android 用的Java,速度慢,再加上没有任何新鲜感。
iOS,用的Objective-C;速度不慢,但是语法还不够简洁。
Swift出现...
分类:
其他好文 时间:
2014-07-29 12:55:47
阅读次数:
385
1、打开命令行窗口,即用户的根目录(用户的home目录)$ ls -al...drwxr-xr-x 6 lvzhinan staff 204 1 9 18:10 .subversion...$cd .subversion/auth/$rm -r -f -d *2、再次Commit或者Update时,...
分类:
其他好文 时间:
2014-07-29 12:42:16
阅读次数:
990
Hello World 每学一门语言开始的第一程序都是Hello World ,当然了Python也不例外,下面开始我们的Python第一个程序编写:1,命令行: (1)打开终端,输入python,则进入了Python环境 (2)语法:print() 输入命令:print('Hello World....
分类:
编程语言 时间:
2014-07-29 12:36:26
阅读次数:
228
转自:[Python] 字符串加密解密 作者:lovebread1. 最简单的方法是用base64:importbase64s1=base64.encodestring('helloworld')s2=base64.decodestring(s1)prints1,s2#aGVsbG8gd29ybGQ...
分类:
编程语言 时间:
2014-07-29 12:27:46
阅读次数:
539
列表解析语法:[exprforiter_variniterable][exprforiter_variniterableifcond_expr]如果是有类的情况下,可以使用classPerson(object):9def__init__(self,name,age=0):10self.name=na...
分类:
编程语言 时间:
2014-07-29 12:12:06
阅读次数:
254
Myeclipse安装svn插件演示版本myeclipse——myeclipse8.6svn——subeclipse-site-1.6.5.zip(对应Myeclipse版本,要有对应的svn插件版本)方法一:1.解压svn插件到Myeclipse安装目录下(新建一个目录myplugins,并删除所...
分类:
系统相关 时间:
2014-07-29 11:38:36
阅读次数:
336