本帖最后由 yakczh_cu 于 2013-05-16 12:56 编辑 SimpleHTTPServer 这个测试页面很好用,省去了配置域名,docuemnt_root之类的操作 python -m SimpleHTTPServer这样会启动 python26的SimpleHTTPServer 但是python26的 SimpleHTTPServer在有些请求下报一大堆错,如果用python32指定路径 g:\python32\python.exe -m SimpleHTTPServer 提示 g:\python32\python.exe: No module named SimpleHTTPServer 如果才能启动python32...
by yakczh_cu - Python - 2013-05-16 15:45:58 阅读(2982) 回复(2)
download mysql-python
http://sourceforge.net/projects/mysql-python/files/mysql-python/1.2.3/MySQL-python-1.2.3.tar.gz/download
apt-get install libmysqlclient-dev
sudo apt-get install python2.5-dev
python setup.py build
python setup.py instal
eclipse pydev
http://www.rose-hulman.edu/class/csse/resources/Eclipse/eclipse-python-configuration.htm
http://c...
Here is the steps, after you downloaded and unzipped the file below: $ sudo apt-get install scim-dev $ sudo apt-get install python-dev $ sudo apt-get install python-enchant $ sudo apt-get install python-gtk2-dev $ sudo apt-get install libgtk2.0-dev $ tar jxvf scim-python-${version}.tar.bz2 $ cd scim-python-${version} $ ./configure --prefix=/usr $ make #this st...
转:iTech python26web[py2web之helloworld] 一 web2py web2py是免费的开源的web框架,被用来快速地开发基于安全的数据库驱动的web应用。我们通过python来使用web2py框架,同时web2py本身也是使用python开发的。web2py是一个full-stack框架,这意味着她包含了你构建功能丰富的web应用的所有组件。 主页 : http://web2py.com/ 官方的参考书: http://web2py.com/book 官方的example: http://web2py.com/exam...
It took me quite a while to figure out how to build and install python/files/mysql-python/" target="_blank">MySQL for python (MySQLdb) o...
首先要去 http://www.python.org/download/ 下载适合你版本的 python.tgz 软件 解压缩 tar -zxvf python-2.5.tgz 编译和安装 ./configure --prefix=$HOME/lib --enable-unicode=ucs4 make make install 把python 2.5设置为默认版本: mkdir $HOME/bin mkdir $HOME/bin/python mkdir $HOME/bin/python/bin ln -s $HOME/lib/bin/python $HOME/bin/python/bin/python 然后,在$HOME.bash_profile里加入一条: export PATH=$H...
python中的easy_install python中的easy_install工具很爽,它的作用类似于Php中的pear,或者Ruby中的gem,或者Perl中的cpan。 如果想使用easy_install工具,可能需要先安装setuptools,不过更酷的方法是使用ez_setup.py脚本: wget -q http://peak.telecommunity.com/dist/ez_setup.py python ez_setup.py 安装完后,最好确保easy_install所在目录已经被加到PATH环境变量里: Windows: C:\python25\Scripts Linux: /usr/local/...
python中的easy_install工具很爽,它的作用类似于Php中的pear,或者Ruby中的gem,或者Perl中的cpan。 如果想使用easy_install工具,可能需要先安装setuptools,不过更酷的方法是使用ez_setup.py脚本: wget -q http://peak.telecommunity.com/dist/ez_setup.py python ez_setup.py 安装完后,最好确保easy_install所在目录已经被加到PATH环境变量里。 比如说要安装python的MySQL支持,可以执行如下命令,系统会自动在pypi...
python的软件包的安装方法大致可以归为三种: (1).自己下载包,按照readme安装,期间可能需要先安装依赖关系包。 (2).用各个发行版的包管理工具从软件仓库里安装(debian的apt-get;yum insall;yast install等),这个也是最常用的,以前一直用它; (3).就是今天要介绍的easy_install(应该是我比较火星了,以前没用过)。这个类似Perl的perl -MCPAN -e shell (或者cpan),是直接从官方仓库在线安装的。 首先安装setuptool...
install 详细介绍 “configure”脚本试图为一些编译时涉及的系统相关变量猜测正确的值,并用来创建“Makefile"。可能还会创建一些包含系统相关定义的头文件。最后,生成一些脚本,“config.status"可以重建当前的配置,“config.cache"保存测试的结果(什么测试?)来加速重复配置,“config.log“包含编译器输出,”configure-summary"包含"configure"运行后显示的摘要。 “include/net-snmp/net-snmp-config.h"也是这时创建的,它...