Life is short, you need Python

摘要: 1. DifinitionNote: 1)It is included by [] 2)Divied by comma2.UsageNote:The ordinal number is increased from 0 to n-1Note:The ordinal number is decreased from-1 to -n3. Basic Operation 1)append 2)inser... 阅读全文
posted @ 2010-08-19 11:03 runfox545 阅读(311) 评论(0) 推荐(0) 编辑
摘要: 代码Note that the keyword def starts the function declaration, followed by the function name, followed by the arguments in parentheses. Multiple arguments (not shown here) are separated with commas. Als... 阅读全文
posted @ 2010-08-19 10:29 runfox545 阅读(252) 评论(0) 推荐(0) 编辑
摘要: 1.Difinition[代码]Note: 1)it is included by"{}" 2)it is one to one relationship 3)format:"key":"value" 4)Divied by comma 5)key: Case senstive2.Usage1)single>>DictTest["key"]Value2)>>print Di... 阅读全文
posted @ 2010-08-19 10:11 runfox545 阅读(233) 评论(0) 推荐(0) 编辑
摘要: Finish to enjoy RapidSVN and install SVN server, now, it is time to enjoy python, Let's dive into python together!http://diveintopython.org/Thanks Mark Pilgrim, CoderZh and Patrick, you are all my clo... 阅读全文
posted @ 2010-08-19 09:58 runfox545 阅读(237) 评论(0) 推荐(0) 编辑
摘要: 1. Unrecognizable Code in webpage if including chinese characterJust run the command: yum groupinstall "Chinese Support" and then reboot2. Chinese menu and document 1)root previliege 2)vim /etc/system... 阅读全文
posted @ 2010-08-18 14:11 runfox545 阅读(1829) 评论(0) 推荐(0) 编辑
摘要: You must install subversion at first1)tar zxvf subversion-1.6.12.tar.gz2)cd subversion-1.6.122)./configure --with-apxs=/usr/local/apache2/bin/apxs --with-apr=/usr/local/apr/bin/apr-1-config --with-apr... 阅读全文
posted @ 2010-08-18 10:17 runfox545 阅读(931) 评论(1) 推荐(0) 编辑
摘要: By default Bugzilla sets the maximum size of attachments and patches to 1 MB.In order to increase this you need to make a change to both Bugzilla and MySQL1. Change the maxattachmentsize and maxpatchs... 阅读全文
posted @ 2010-08-17 15:14 runfox545 阅读(277) 评论(0) 推荐(0) 编辑
摘要: Intergrate Bugzilla and SVN7. SCMbug installation 1)rpm -ivh --force --nodeps scmbug-0.26.18-1.src.rpm rpm -ivh --force --nodeps scmbug-common-0.26.18-1.noarch.rpm rpm -ivh --force --nodeps scmbug-ser... 阅读全文
posted @ 2010-08-16 13:32 runfox545 阅读(290) 评论(1) 推荐(0) 编辑
摘要: bugzilla installation6.1 bugzila installation 1)tar zxvf bugzilla-3.6.1.tar.gz 2)cd bugzilla-3.6.1 3)mv bugzilla-3.6.1 /usr/local/apache2/htdocs/bugs 4)cd /usr/local/apache2/htdocs/bugs 5)./checksetup... 阅读全文
posted @ 2010-08-16 10:38 runfox545 阅读(383) 评论(4) 推荐(0) 编辑
摘要: 在配置Linux的 Apache服务时,经常会遇到http403错误,我今天配置测试时也出现了,最后解决了,总结了一下。http 403错误是拒绝访问的意思,有很多原因的。我总结的主要有4种原因!1. 访问的文档权限不够。要755以上权限。解决方法:用命令chmod 755 /var/www/ 或其他相应目录。2. SELinux或防火墙的原因。解决方法:先关闭SELinux和让防火墙通过WWW服... 阅读全文
posted @ 2010-08-16 10:07 runfox545 阅读(7871) 评论(0) 推荐(0) 编辑
白月黑羽 Python教程 白月黑羽Python