1
安装python安装python-2.7.6.msi默认在c盘设置环境变量,path后追加c:/python27。可以在命令行直接认识命令python2
安装pyqtPyQt4-4.10-gpl-Py2.7-Qt4.8.4-x32.exe,会自动寻找python路径,并装在python安装目录下...
分类:
其他好文 时间:
2014-05-26 16:21:18
阅读次数:
245
依次下载 Python、Django(并安装好)、JAVA、Eclipse、Eclipse
中文语言包(http://www.eclipse.org/babel/downloads.php)、PyDev(http://sourceforge.net/projects/pydev/)。
Ecli...
分类:
编程语言 时间:
2014-05-26 15:49:16
阅读次数:
283
我们老大给了我三本书,让我学习下perl,昨天看了一天,今天给整理了下,两天的成果展现,没有什么脚本的基础,之前也就是看过python一点点,没用过!还有一些没有测试过,没什么时间了,还得再看看最重要的模式匹配----先上一部分。想想perl毕竟是一门语言,没有实战,还是不行!所以继续努力哦。。。。...
分类:
其他好文 时间:
2014-05-26 15:39:02
阅读次数:
896
模块的搜索路径:When a module namedspamis imported, the
interpreter searches for a file namedspam.pyin the current directory, and then
in the list of director...
分类:
编程语言 时间:
2014-05-26 15:09:11
阅读次数:
367
原题地址:https://oj.leetcode.com/problems/recover-binary-search-tree/题意:Two
elements of a binary search tree (BST) are swapped by mistake.Recover the
tree...
分类:
编程语言 时间:
2014-05-26 13:25:43
阅读次数:
261
一直按网上的方法:1.先安装apt-get install
zlib1g-dev2.重新安装python(3.3):即是./configure 再make再make
install始终没有解决掉问题!最后发现,还需要再链接一次:#ln -s /usr/local/python3.3/bin/pyth...
分类:
编程语言 时间:
2014-05-26 12:35:01
阅读次数:
298
存储:文件存储: FastDFS数据库: MySQL(集群, mster,
Slave读写分离),缓存: Redis, Memcache前端:Jquery, Angular框架:python django
分类:
Web程序 时间:
2014-05-26 11:16:56
阅读次数:
240
原题地址:https://oj.leetcode.com/problems/validate-binary-search-tree/题意:检测一颗二叉树是否是二叉查找树。解题思路:看到二叉树我们首先想到需要进行递归来解决问题。这道题递归的比较巧妙。让我们来看下面一棵树:
...
分类:
编程语言 时间:
2014-05-26 10:48:19
阅读次数:
291
原题地址:https://oj.leetcode.com/problems/same-tree/题意:判断两棵树是否是同一棵树。解题思路:这题比较简单。用递归来做。首先判断两个根节点的值是否相同,如果相同,递归判断根的左右子树。代码:#
Definition for a binary tree n....
分类:
编程语言 时间:
2014-05-26 10:30:17
阅读次数:
289
原题地址:https://oj.leetcode.com/problems/symmetric-tree/题意:判断二叉树是否为对称的。Given
a binary tree, check whether it is a mirror of itself (ie, symmetric around ...
分类:
编程语言 时间:
2014-05-26 10:18:52
阅读次数:
293