怎样取得当前目录下对象的id ?

"Who Bruce" <[email protected]>
Newsgroups gmane.comp.web.zope.chinese,gmane.spam.detected
Message-ID <[email protected]>
浜涓涓script(python)锛甯杩id浠test寮澶寸浠讹浣濂藉璧蜂澶у甯
蹇锛thanks锛

results=[]
for object in context.objectValues('File'):
    if object.id.startswith('test'):
        results.append(object)
return results

_________________________________________________________________
浜ㄤ涓澶х靛欢绯荤 MSN Hotmail  http://www.hotmail.com  

_______________________________________________
zope-chinese list
[email protected]
http://zope.cn/mailman/listinfo/zope-chinese
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.