码迷,mamicode.com
首页 >  
搜索关键字:python 数组    ( 220354个结果
随机产生数组
class CArray { private int[] arr; //声明了一私有个数组,并没有实例化,数组只有引用地址(只在栈内存中存在) private int upper; //声明私有变...
分类:其他好文   时间:2014-04-30 05:03:55    阅读次数:354
centos和readhat下安装python2.7
1、安装基本库yum install gccyum install makeyum install zlib-develyum install bzip2-develyum install openssl-develyum install ncurses-devel2、获得python2.7.4wg...
分类:编程语言   时间:2014-04-30 04:58:42    阅读次数:400
centos和redhat下,psycopg2安装
1、 yum install postgresql-libs2、 yum install postgresql92-devel.i3863、 wget http://initd.org/psycopg/tarballs/PSYCOPG-2-5/psycopg2-2.5.1.tar.gz4、 tar ...
分类:其他好文   时间:2014-04-30 04:48:22    阅读次数:511
win环境下,django+postgresql配置
先下载postgresql的python包,选择合适自己的python版本和平台32位还是64位,http://www.lfd.uci.edu/~gohlke/pythonlibs/#lxml下载win环境下postgresql接口,http://www.stickpeople.com/projec...
分类:数据库   时间:2014-04-30 04:29:48    阅读次数:482
PIL install
1、wget http://effbot.org/downloads/Imaging-1.1.7.tar.gz2、tar xzvf Imaging-1.1.7.tar.gz3、cd Imaging-1.1.74、python ./setup.py make5、python ./setup.py in...
分类:其他好文   时间:2014-04-30 04:05:19    阅读次数:385
Python环境右键定制
有时候,我们需要将py打包成exe、需要将ui转换成py、需要将py转换成pyc等等,命令行操作起来有点繁琐。所以做了这个教程: 1.py打包成exe 先安装cx_freeze,参照教程:http://www.cnblogs.com/doudongchun/p/3694829.html 建...
分类:编程语言   时间:2014-04-30 03:09:48    阅读次数:680
Construct Binary Tree from Preorder and Inorder Traversal
Given preorder and inorder traversal of a tree, construct the binary tree.Note:You may assume that duplicates do not exist in the tree.思路:由前序遍历数组和中序遍历...
分类:其他好文   时间:2014-04-30 02:20:33    阅读次数:366
PHP源码分析
收集一些对PHP研究较深的文章,方便平时的查阅。 1)弱类型变量实现 2)PHP的生命周期 3)变量的引用计数、写时复制(Reference counting & Copy-on-Write) 4)变量的存储方式 5)数组 6)HashTable API 7)面向对象
分类:Web程序   时间:2014-04-30 01:38:26    阅读次数:565
Python的50个模块,满足你各种需要
Python具有强大的扩展能力,我列出了50个很棒的Python模块,包含几乎所有的需要:比如Databases,GUIs,Images, Sound, OS interaction, Web,以及其他。Graphical interfacewxPythonhttp://wxpython.orgGr...
分类:编程语言   时间:2014-04-30 01:28:15    阅读次数:680
java中的集合框架
由于数组具有属性单一,长度不可改变的缺点,于是在程序中我们使用集合来代替它。集合中不可放入基本数据类型,基本数据类型都是通过自动拆包和自动装箱功能才能放入和取出集合。分类:Collection接口和Map接口Collection:存放单一值元素,又可分为list接口类型和set接口类型 ...
分类:编程语言   时间:2014-04-28 11:20:31    阅读次数:582
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!