
Python
totogogo
@CityU of HK
展开
-
Install Python + Eric IDE
Normal 0 false false false MicrosoftInternetExplorer4 <!-- /* Style Definitions */ table.MsoNormalTable {mso-s原创 2010-05-04 12:04:00 · 2093 阅读 · 0 评论 -
Use Eric IDE to develop python
Normal 0 false false false MicrosoftInternetExplorer4 1. run eric5, and select menu "project > New..", in thepopup w原创 2010-05-04 12:09:00 · 1193 阅读 · 0 评论 -
install python, django, eclipse pydev plugin in windows
基本步骤参考python installation in Mac http://blog.youkuaiyun.com/totogogo/article/details/7330845下面只写与mac不同的步骤install python: 下载python msi file,and then double click to install it.安装完之后,在DOS窗口,然后进入 path原创 2012-03-08 02:08:01 · 845 阅读 · 0 评论 -
python 快速入门
入门教程: http://ez2learn.com/index.php/python-tutorialsdjango: http://blog.xuite.net/chaoyee/blog/23831427 http://www.cnblogs.com/lanlandechong/archive/2012/06/20/2556265.html图解:转载 2012-03-08 02:28:00 · 522 阅读 · 0 评论 -
install python 3.2, django and eclipse pydev plugin in mac for python devolopment
Step 1. install eclipse 3.7 or laterStep 2. install python 3.2 (ref link: http://www.youtube.com/watch?v=MEmEJCLLI2k )注意:我安装了python3.2后,在"terminal"里输入命令 "python --version",出现的版本是v2.7,如果你要在term原创 2012-03-07 22:39:08 · 2254 阅读 · 0 评论 -
python notes
* 在.py file里如果有中文字,那么就会有下列error,即使save file as utf-8编码SyntaxError: Non-ASCII character。。。。解决方法是在该py file的开头加上# coding=utf-8原创 2012-08-31 14:20:11 · 697 阅读 · 0 评论 -
web.py的使用
web.py是一个非常轻量级的python web framework。使用非常简单。1. 安装web.py:http://webpy.org/install.zh-cn2. 最简单的hello world example: 创建一个"code.py" file,代码是import weburls = ( '/', 'index')class index:原创 2012-09-03 18:49:26 · 3347 阅读 · 0 评论 -
python: 如何往http request里添加多个同名的参数
有些web app需要request param的order必须不能乱,而且有些web app必须包含多个同名的param才行(例如aims的leave application submit form)往http request添加参数的一般做法是:urllib.urlencode({'p_username' : username, 'p_password' : password}原创 2012-09-05 09:49:40 · 5693 阅读 · 1 评论