cn.bbs.comp.lang.python
  Home FAQ Contact Sign in
cn.bbs.comp.lang.python only
 
Advanced search
May 2008
motuwethfrsasuw
   1234 18
567891011 19
12131415161718 20
19202122232425 21
262728293031  22
2008
 Jan   Feb   Mar   Apr 
 May   Jun   Jul   Aug 
 Sep   Oct   Nov   Dec 
2008 2007 2006  
total
cn.bbs.comp.lang.python Profile…
RELATED GROUPS

POPULAR GROUPS

more...

 Up
  http://codereview.appspot.com/         


Author: Lobsters On The Run
Date: May 1, 2008 18:21

http://codereview.appspot.com/
Guido van Rossum 的 code review tool Mondrian 的开源版本。
--
"Our users want the world to be as simple, clean, and accessible as the Google
home page itself," said Google CEO Eric Schmidt at a press conference held in
their corporate offices. "Soon, it will be."
First phase of the new project, dubbed Google Purge,executives will destroy
all copyrighted materials that cannot be searched by Google.
…Does information that Google can't index really exist in the first place?

※ 来源:・水木社区 newsmth.net・[FROM: 202.127.16.*]
no comments
  问一个wxpython编码的问题~         


Author: ¹Ô¹ÔµÄСº¢
Date: May 1, 2008 10:34

我的终端和locale都是gb2312,(这个不能修改)
代码最上面也加了# -*- coding: GB2312 -*-
可是编译的时候显示出错:
Traceback (most recent call last):
File "action.py", line 3, in
import wx
File "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/__init__.py", line 45, in
from wx._core import *
File "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 14280, in
default = locale.getpreferredencoding()
File "/usr/lib/python2.5/locale.py", line 514, in getpreferredencoding
setlocale(LC_CTYPE, "")
File "/usr/lib/python2.5/locale.py", line 478, in setlocale
return _setlocale(category, locale)
locale.Error: unsupported locale setting

请教高手这个怎么办呀?

--

※ 来源:・水木社区 newsmth.net・[FROM: 211.99.222.*]
no comments
  Re: python2.5的那个Conditional Expressions 用起来不是很方便         


Author: Lobsters On The Run
Date: May 1, 2008 07:05

哦,果然,迷惑了。 thanks。
【 在 ilovecpp (cpp) 的大作中提到: 】
: 标 题: Re: python2.5的那个Conditional Expressions 用起来不是很方便
: 发信站: 水木社区 (Thu May 1 21:13:13 2008), 转信
: 【 在 mirror (Lobsters On The Run) 的大作中提到: 】
: : 例如
: : self.acquired = acquired if acquired is not None else QDate.currentDate()
: : 长度是74个字符,考虑是一个类的函数的语句。对于80个字符一句的,
: : 一般都得折行,那折行……还不如原来的两行合算吧。
: For this specific case, why not:
: self.acquired = acquired or QDate.currentDate()
--
In this particular case, there is only one textEdited() signal, so the
decorator is not strictly necessary; but we always use the decorator as a
matter of good practice. For example, if a later version of PyQt introduced
another signal with the same name but with different arguments, code that
used the decorator would continue to work, but code without it would not...
Show full article (1.16Kb)
no comments
  Re: Mac OS X下有什么好的python IDE?         


Author: ÀÏÊDZ»¾Ü£¬ÒѾ­Î÷¹ÏÁË
Date: May 1, 2008 07:01

大东西也没有什么神秘的
几十万行代码的python程序,众程序员用vim, emacs也足够了

【 在 overboming (welcome) 的大作中提到: 】
: 我用textmate。
: 不过不适合做大东西

--
He said all were knights.
You say all are managers.
Then they fight and die
and program and survive.
But they lost the holy land
without angel's crying.

※ 来源:・水木社区 newsmth.net・[FROM: 61.149.73.*]
no comments
  Re: Mac OS X下有什么好的python IDE?         


Author: while(!asleep(
Date: May 1, 2008 06:40

vim-cocoa ;)
【 在 toTop (toTop) 的大作中提到: 】
: 查看了一下前面的帖子,我试着安装ulipad和spe。
: 但是这两个好像都需要wxpython,而wxpython似乎没有适合mac的版本。
: 除了macpython,还有别的更好的python ide推荐么?
: ...................

--

※ 来源:・水木社区 newsmth.net・[FROM: 210.77.8.*]
no comments
  Re: Mac OS X下有什么好的python IDE?         


Author: welcome
Date: May 1, 2008 06:38

我用textmate。
不过不适合做大东西
【 在 toTop (toTop) 的大作中提到: 】
: 查看了一下前面的帖子,我试着安装ulipad和spe。
: 但是这两个好像都需要wxpython,而wxpython似乎没有适合mac的版本。
: 除了macpython,还有别的更好的python ide推荐么?
: ...................

--

※ 来源:・水木社区 newsmth.net・[FROM: 58.35.156.*]
no comments
  Re: python2.5的那个Conditional Expressions 用起来不是很方便         


Author: cpp
Date: May 1, 2008 06:13

【 在 mirror (Lobsters On The Run) 的大作中提到: 】
: 例如
: self.acquired = acquired if acquired is not None else QDate.currentDate()
: 长度是74个字符,考虑是一个类的函数的语句。对于80个字符一句的,
: 一般都得折行,那折行……还不如原来的两行合算吧。

For this specific case, why not:

self.acquired = acquired or QDate.currentDate()

--
Java is an application specific language, still looking for an
application to be specific to.
--- Per Abrahamsen, in advogato.org

※ 来源:・水木社区 newsmth.net・[FROM: 222.129.55.*]
no comments
  ÖйúÊÇÇ¿µÁ¹ú¼Ò         


Author: root
Date: May 1, 2008 05:36

no comments
  ÖйúÊÇÆÆÀöù¹ú¼Ò         


Author: postmaster
Date: May 1, 2008 05:35

no comments
  ÔÚÖйúµÀµÂ²»´æÔÚ         


Author: root
Date: May 1, 2008 05:34

no comments
 
1 2 3