Python论坛  - 讨论区

标题:Re: Re: 回复: [python-chinese] The Python IDE

2005年07月07日 星期四 09:57

amingsc amingsc at 163.com
Thu Jul 7 09:57:20 HKT 2005

uPbIy9LUzqqjrLP10afSu8PF0+/R1LXEyrG68ru5yseyu9KqyrnTw7i01NO1xElERbrD0KmjrNXi
0fnT0MD709rE47bUs8zQ8rXE1MvQ0Lv61sbT0MnuyOu1xMHLveKju7Wryse1scTj0tG+rbTvtb3i
0rahveLFo7XEvrO958qxo6y7ub7cvvjKudPDuaS+38zhuN+/qrei0KfCyrXEu7DEx9a7xNzLtcTj
uv3Nvw0KDQo9PT09PT09IDIwMDUtMDctMDYgMjE6MTk6MDAgxPrU2sC00MXW0NC0tcCjuj09PT09
PT0NCg0KPsjnufvV5rXEz+vOqlBZVEhPTtf2tePKwizE49Ky0O23xcb6xOO1xElERdCwtvHC27HI
vc+6wy4NCj5QWVRIT07Oqsqyw7Sz9s/WP7K7vs3Kx9PQ0OjSqsLwPw0KPs6qyrLDtMTHw7S24MjL
zOG8sCK6w7XEUFlUSE9OIElERSI/srvSssrH09DQ6NKqwvA/DQo+xNG1wFBZVEhPTtOmuMO437jf
1NrJz7XY0qrH88v509DIy7PJzqrOxLG+seC8rSvD/MHu0NC1xNDFzb0/DQo+DQo+1NogMDUtNi0x
N6OsWm9vbSBRdWlldDx6b29tLnF1aWV0QGdtYWlsLmNvbT4g0LS1wKO6DQo+PiCwptG90b2jodDW
tdy948PDw8fExKOhDQo+PiBJREUgysfQsLbxtcSjoQ0KPj4gyM66zr+qt6K1xLio1vq5pL7ftryy
u8TctPrM5sjLtcTLvM6so6ENCj4+INK7uPbT0brDo6y437y2tcRJREW78tDtv8nE3LDLs8m2+bTz
uMW/ydLU0K3W+sTjIrjf0KcitcTN6rPJ0ru49rrcQ29vbCC1xNHdyr65pL7fo6y1q8rHo6zTwNS2
sru/ycTc0K3W+sTjw/ew19Om08OjrNPv0dSjrMrAvefWrrzktcTOosPuudjPtaOhDQo+PiANCj4+
ILu5ysfOxLG+seC8rSvD/MHu0NDX7sus1rHBy6Oho6GjoQ0KPj4g1eLA78TjysfW99TXo6HKx8Tj
1NrT68rAvee21Luwo6y2+MO709DB7dK7uPayu9aqy/nOvbXEtqvO99/r37ajobTyts/E47XEy7zC
t6Oho6GjoQ0KPj4gDQo+PiCGlIaUhpSjoQ0KPj4gDQo+PiDU2iAwNS02LTE3o6zMqbSrIM7CPHdl
bmR3Z2hpdEB5YWhvby5jb20uY24+INC0tcCjug0KPj4gPiC+zcrHyrnTwyBweXRob24gaWRsZSwg
xuTL+7XEtry78rbgu/LJ2dPQuty24MLpt7O1xM7KzOINCj4+ID4NCj4+ID4gWmhpanVuIExpdSA8
aGl0LnplYWxvdXNAZ21haWwuY29tPiDQtLXAo7oNCj4+ID4gtPO80rrDo6zO0srH0MLAtLXEo6EN
Cj4+ID4NCj4+ID4gz+vH67TzvNLNxrz20ru49tPF0OO1xMPit9G1xHB5dGhvbiBJREUstPO80su1
y7WwyaO/DQo+PiA+IF9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fDQo+PiA+IHB5dGhvbi1jaGluZXNlIGxpc3QNCj4+ID4gcHl0aG9uLWNoaW5lc2VAbGlzdHMu
cHl0aG9uLmNuDQo+PiA+IGh0dHA6Ly9weXRob24uY24vbWFpbG1hbi9saXN0aW5mby9weXRob24t
Y2hpbmVzZQ0KPj4gPg0KPj4gPg0KPj4gPiBfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fXw0KPj4gPiC4z7/s16Ky4dHFu6KzrLTzyN3Bv8Pit9HTys/kPw0K
Pj4gPiBodHRwOi8vY24ubWFpbC55YWhvby5jb20NCj4+ID4gX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fX19fX19fX18NCj4+ID4gcHl0aG9uLWNoaW5lc2UgbGlzdA0KPj4g
PiBweXRob24tY2hpbmVzZUBsaXN0cy5weXRob24uY24NCj4+ID4gaHR0cDovL3B5dGhvbi5jbi9t
YWlsbWFuL2xpc3RpbmZvL3B5dGhvbi1jaGluZXNlDQo+PiA+DQo+PiA+DQo+PiA+DQo+PiANCj4+
IC0tDQo+PiBbVGltZSBpcyB1bmltcG9ydGFudCwgb25seSBsaWZlIGltcG9ydGFudCFdDQo+PiAN
Cj4+IF9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fDQo+PiBw
eXRob24tY2hpbmVzZSBsaXN0DQo+PiBweXRob24tY2hpbmVzZUBsaXN0cy5weXRob24uY24NCj4+
IGh0dHA6Ly9weXRob24uY24vbWFpbG1hbi9saXN0aW5mby9weXRob24tY2hpbmVzZQ0KPj4gDQo+
PiANCj4+DQo+X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18N
Cj5weXRob24tY2hpbmVzZSBsaXN0DQo+cHl0aG9uLWNoaW5lc2VAbGlzdHMucHl0aG9uLmNuDQo+
aHR0cDovL3B5dGhvbi5jbi9tYWlsbWFuL2xpc3RpbmZvL3B5dGhvbi1jaGluZXNlDQo+DQoNCj0g
PSA9ID0gPSA9ID0gPSA9ID0gPSA9ID0gPSA9ID0gPSA9ID0gPQ0KCQkJDQoNCqGhoaGhoaGhoaGh
oaGhoaHWwg0KwPGjoQ0KIA0KCQkJCSANCqGhoaGhoaGhoaGhoaGhoaFhbWluZ3NjDQqhoaGhoaGh
oaGhoaGhoaGhYW1pbmdzY0AxNjMuY29tDQqhoaGhoaGhoaGhoaGhoaGhoaGhoTIwMDUtMDctMDcN
Cg0K


[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2005年07月07日 星期四 09:52

清风 paradise.qingfeng at gmail.com
Thu Jul 7 09:52:36 HKT 2005

udjT2klERbXEzNbC26Os1ea1xMrH1MK+rcz5oaOho6GjCrj4s/a8uLj2SURFo6y087zS19S8usrU
ytTT0MO709DLs8rWtcSjugoKyOe5+7+qt6J3eFB5dGhvbqO6CmJ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VzZUBsaXN0cy5weXRob24uY24K
PiBodHRwOi8vcHl0aG9uLmNuL21haWxtYW4vbGlzdGluZm8vcHl0aG9uLWNoaW5lc2UKPiAKPiAK
PiAKCgotLSAKQmxvZzpodHRwOi8vd3d3LmRvbmV3cy5uZXQvY2hhbmd6aGVuZwo=

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2005年07月07日 星期四 10:06

shhgs shhgs.efhilt at gmail.com
Thu Jul 7 10:06:05 HKT 2005

xNy96cnc0rvPwkxlb8Lwo7+6w8/xsrvKx0lERQoKCgoKT24gNy82LzA1LCDH5bfnIDxwYXJhZGlz
ZS5xaW5nZmVuZ0BnbWFpbC5jb20+IHdyb3RlOgo+ILnY09pJREW1xMzWwtujrNXmtcTKx9TCvq3M
+aGjoaOhowo+ILj4s/a8uLj2SURFo6y087zS19S8usrUytTT0MO709DLs8rWtcSjugo+IAo+IMjn
ufu/qreid3hQeXRob26jugo+IGJvYQo+IHd4RGVzaWduZXIKPiAKPiC/qreicXSjugo+ILrDz/HT
0NK7uPZFcmljCj4gCj4gxuTL+zoKPiBFY2xpcHNlK1B5RGV2Cj4gTmV3RWRpdAo+IExlbyhaUce/
wdLNxrz2o6zEv8ew1f3U2sP+y/fW0CkKPiAKPiAyMDA1LzcvNywgYW1pbmdzYyA8YW1pbmdzY0Ax
NjMuY29tPjoKPiA+ILj2yMvS1M6qo6yz9dGn0rvDxdPv0dS1xMqxuvK7ucrHsrvSqsq508O4tNTT
tcRJREW6w9Cpo6zV4tH509DA+9PaxOO21LPM0PK1xNTL0NC7+tbG09DJ7sjrtcTBy73io7u1q8rH
tbHE49LRvq2077W94tK2ob3ixaO1xL6zvefKsaOsu7m+3L74yrnTw7mkvt/M4bjfv6q3otCnwsq1
xLuwxMfWu8Tcy7XE47r9zb8KPiA+Cj4gPiA9PT09PT09IDIwMDUtMDctMDYgMjE6MTk6MDAgxPrU
2sC00MXW0NC0tcCjuj09PT09PT0KPiA+Cj4gPiA+yOe5+9X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5mby9weXRob24tY2hpbmVz
ZQo+IAo+IAo+Cg==

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2005年07月07日 星期四 10:07

Zoom Quiet zoom.quiet at gmail.com
Thu Jul 7 10:07:54 HKT 2005

utm62brZo6GjoQrH5bfnzPiz9sC0tcTUrdLyysfL+9Kytb2ws7XEye2x38C0uaTX98HLoa2hraGt
oa25/rn+uf6joaOhCrK5s+TSu7XjCgpFY2xpcHNlLMvkyLtQeSC1xLLlvP6yorK7yse63M3qw8Cj
rLWrysfO0s/rSnl0aG9uINbVu+G4tLvutcSjrMTHyrGhraGtoa2hrbrZutm62aOsv9rLrr/ay66h
raGtoa2hrQoKwe3N4qOsTGVvINOmuMOyu8vjSURFILDJo6zL5Mi7zai5/bLlvP6/ydLUvfjQ0CBV
bml0VGVzdCDKssO0tcSjrAq1q8rHsb7WysnPvbK99r32ysfOxLG+seC8rbu3vrOjrM/zVUUgtuDQ
qaOsuPqx4LPM08O1xCBJREUgyseyu82stcShraGtoa2hrQoK1NogMDUtNy03o6zH5bfnPHBhcmFk
aXNlLnFpbmdmZW5nQGdtYWlsLmNvbT4g0LS1wKO6Cj4gudjT2klERbXEzNbC26Os1ea1xMrH1MK+
rcz5oaOho6GjCj4guPiz9ry4uPZJREWjrLTzvNLX1Ly6ytTK1NPQw7vT0Muzyta1xKO6Cj4gCj4g
yOe5+7+qt6J3eFB5dGhvbqO6Cj4gYm9hCj4gd3hEZXNpZ25lcgo+IAo+IL+qt6JxdKO6Cj4gusPP
8dPQ0ru49kVyaWMKPiAKPiDG5Mv7Ogo+IEVjbGlwc2UrUHlEZXYKPiBOZXdFZGl0Cj4gTGVvKFpR
x7/B0s3GvPajrMS/x7DV/dTaw/7L99bQKQo+IAo+IDIwMDUvNy83LCBhbWluZ3NjIDxhbWluZ3Nj
QDE2My5jb20+Ogo+ID4guPbIy9LUzqqjrLP10afSu8PF0+/R1LXEyrG68ru5yseyu9KqyrnTw7i0
1NO1xElERbrD0Km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Cj4gPgo+ID4KPiA+Cj4gCj4gLS0KPiBCbG9nOmh0dHA6Ly93d3cuZG9uZXdzLm5l
dC9jaGFuZ3poZW5nCj4gCj4gX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX18KPiBweXRob24tY2hpbmVzZSBsaXN0Cj4gcHl0aG9uLWNoaW5lc2VAbGlzdHMucHl0
aG9uLmNuCj4gaHR0cDovL3B5dGhvbi5jbi9tYWlsbWFuL2xpc3RpbmZvL3B5dGhvbi1jaGluZXNl
Cj4gCj4gCj4gCgoKLS0gCltUaW1lIGlzIHVuaW1wb3J0YW50LCBvbmx5IGxpZmUgaW1wb3J0YW50
IV0K

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2005年07月07日 星期四 10:10

潘云鹏 panyunpeng at cchongda.com.cn
Thu Jul 7 10:10:01 HKT 2005

shhgs,您好!
     写的很详细,这是我一直有些迷惑的地方,谢谢!
	

======= 2005-07-06 21:36:00 您在来信中写道:=======

>首先解释一下 __name__
>
>当你定义了一个module、类或者方法的时候,这个module、类或方法会自动获得一个__name__属性,其值就是类或方法的名字。
>
>然后我们再来看__name__ == '__main__'的含义。
>
>你写的代码可能是直接运行的,也可能只是一个lib。当这个程序直接运行的时候,它的__name__属性就是'__main__',而当它被其它程序import的时候,这个__name__就是文件名。
>
>下面我们看一个例子
>
>##------------------------------------
>## lib.py
>def func() :
>      print 'hello'
>
>print __name__
>##-------------------------------------
>
>##-------------------------------------
>## call.py
>import lib
>
>lib.func()
>##-------------------------------------
>
>当你运行lib.py的时候,屏幕会显示__main__,这表示运行lib.py时,lib module的__name__属性的值是__main__
>
>当你运行call.py时,屏幕会显示 
>--------------
>hello
>lib
>--------------
>这时,由于lib是又call.py调用的,因此其__name__属性的值就变成文件名了
>
>最后再来看为什么要有 
>if __name__ == "__main__" :
>
>很明显,call.py要用的是lib的func函数,它并不想让lib执行print
>__name__。但是lib不管三七二十一,import之后就运行。这并不是我们所希望的,但是让lib能自动运行又是必须的(比如说测试),因此你可以用
>if __name__ == "__main__" :
>将要运行的程序同不运行的程序隔离开来。当你直接运行lib.py的时候,lib的__name__值是__main__,因此这段代码就运行了,当你运行其它程序调用lib的时候,lib的__name__属性是lib,因此下面这段代码就不运行了。
>
>我想这样解释应该比较清楚了吧。
>
>
>
>
>On 7/6/05, jam.zheng <jam.zheng at achievo.com> wrote:
>> 
>> 
>> 请问各位大侠:
>>          我在很多python源码看到有如下代码:
>>                        if __name__ == '__main__':
>>                              fun()
>> 请问这是什么意思?请高手赐教!
>> 
>> 






[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2005年07月07日 星期四 10:14

cun heise cunheise at hotmail.com
Thu Jul 7 10:14:08 HKT 2005

import os
#function for listDirectory

def listFileDirectory(pPath):
		print pPath
		if os.path.exists(pPath):
				#fd=open('.\\list.txt','wb')				
				for item in os.listdir(pPath):
						if os.path.isfile(os.path.join(pPath,item)):
								#print ''+os.path.join(pPath,item)+''
								#print ''+item+''								
								print item
						elif os.path.isdir(os.path.join(pPath,item)):
								if item=="CVS":
										break
								else:
										print(item)
										listFileDirectory(os.path.join(pPath,item))
				#fd.close()
		else:
				print pPath,"is no exist"

	
listFileDirectory('D:\\DDU_2005_branch\\templates\\')

我想请问一下,这段代码有什么问题,为什么不能把所有的文件和目录列出来,我估计可
能和\tXXXX\nXXX的文件名有关,我该怎么处理,我知道,我也可以os.walk,os.path.walk
有什么区别,能解释一下吗



[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2005年07月07日 星期四 10:19

shhgs shhgs.efhilt at gmail.com
Thu Jul 7 10:19:38 HKT 2005

把break改成continue试试



On 7/6/05, cun heise <cunheise at hotmail.com> wrote:
> import os
> #function for listDirectory
> 
> def listFileDirectory(pPath):
>                print pPath
>                if os.path.exists(pPath):
>                                #fd=open('.\\list.txt','wb')
>                                for item in os.listdir(pPath):
>                                                if os.path.isfile(os.path.join(pPath,item)):
>                                                                #print ''+os.path.join(pPath,item)+''
>                                                                #print ''+item+''
>                                                                print item
>                                                elif os.path.isdir(os.path.join(pPath,item)):
>                                                                if item=="CVS":
>                                                                                break
>                                                                else:
>                                                                                print(item)
>                                                                                listFileDirectory(os.path.join(pPath,item))
>                                #fd.close()
>                else:
>                                print pPath,"is no exist"
> 
> 
> listFileDirectory('D:\\DDU_2005_branch\\templates\\')
> 
> 我想请问一下,这段代码有什么问题,为什么不能把所有的文件和目录列出来,我估计可
> 能和\tXXXX\nXXX的文件名有关,我该怎么处理,我知道,我也可以os.walk,os.path.walk
> 有什么区别,能解释一下吗
> 
> 
> _______________________________________________
> python-chinese list
> python-chinese at lists.python.cn
> http://python.cn/mailman/listinfo/python-chinese
>

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2005年07月07日 星期四 10:28

limodou limodou at gmail.com
Thu Jul 7 10:28:45 HKT 2005

我试了,没有问题。

os.walk返回的是三元组(dirpath, dirnames,
filenames),而且它是一个产生式generator,而os.path.walk是一个递归函数,你要写一个回调函数。

在 05-7-7,cun heise<cunheise at hotmail.com> 写道:
> import os
> #function for listDirectory
> 
> def listFileDirectory(pPath):
>                 print pPath
>                 if os.path.exists(pPath):
>                                 #fd=open('.\\list.txt','wb')
>                                 for item in os.listdir(pPath):
>                                                 if os.path.isfile(os.path.join(pPath,item)):
>                                                                 #print ''+os.path.join(pPath,item)+''
>                                                                 #print ''+item+''
>                                                                 print item
>                                                 elif os.path.isdir(os.path.join(pPath,item)):
>                                                                 if item=="CVS":
>                                                                                 break
>                                                                 else:
>                                                                                 print(item)
>                                                                                 listFileDirectory(os.path.join(pPath,item))
>                                 #fd.close()
>                 else:
>                                 print pPath,"is no exist"
> 
> listFileDirectory('D:\\DDU_2005_branch\\templates\\')
> 
> 我想请问一下,这段代码有什么问题,为什么不能把所有的文件和目录列出来,我估计可
> 能和\tXXXX\nXXX的文件名有关,我该怎么处理,我知道,我也可以os.walk,os.path.walk
> 有什么区别,能解释一下吗
> 
> _______________________________________________
> python-chinese list
> python-chinese at lists.python.cn
> http://python.cn/mailman/listinfo/python-chinese
> 


-- 
I like python! 
My Donews Blog: http://www.donews.net/limodou
New Google Maillist: http://groups-beta.google.com/group/python-cn

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

如下红色区域有误,请重新填写。

    你的回复:

    请 登录 后回复。还没有在Zeuux哲思注册吗?现在 注册 !

    Zeuux © 2025

    京ICP备05028076号