Python论坛  - 讨论区

标题:Re: Re: [python-chinese] 啄木鸟出问题了

2005年06月28日 星期二 14:40

shiziliang shizl at bis.com.cn
Tue Jun 28 14:40:58 HKT 2005

我来告诉你我的认识,

python 中文意思是"蟒蛇"
python 是一种类似perl的动态脚本语言。
python 又是一种面向对象的语言,有点像java
python 又是一种胶水语言,和其他语言一起使用,例如c,java
python 在国外用的很多,听说做游戏的脚本使用python
python 语法很简单,1个星期,或1个星期多一点,就可以搞定。
python 中的成功的项目:bittorrent, mailman,红帽安装向导,etc
。
。
。
请大家在补充一点:)


----- Original Message ----- 
From: "业绩" <zhuangyeji at 163.com>
To: "Steven Lu, python-chinese at lists." <neveta at gmail.com>; <python-chinese at lists.python.cn>
Sent: Tuesday, June 28, 2005 2:19 PM
Subject: Re: Re: [python-chinese] 啄木鸟出问题了


> Steven Lu,您好!
> 
> 这位大哥!能告诉我什么是python吗?
> 非常感谢哦……
> 
> 
> 
> ======= 2005-06-28 12:13:45 您在来信中写道:=======
> 
> >好像恢复了吧?
> >
> >2005/6/28, cpunion <cpunion at 263.net>:
> >> 刚在行者堂编辑资料,保存时出现下面的页面,再打开行者堂,提示页面不存在。
> >> 
> >> --> --> 
> >>  
> >>  
> >> NameErrorglobal name '_' is not definedPlease include this information in
> >> your bug reports!:
> >> Python Python 2.4: /usr/local/bin/python
> >> FreeBSD host.woodpecker.org.cn 4.10-STABLE FreeBSD 4.10-STABLE #0: Tue Aug
> >> i386
> >> MoinMoin Release 1.3.3 [Revision 1.3.3 release]
> >> Tue Jun 28 12:16:34 2005
> >> 
> >> A problem occurred in a Python script. Here is the sequence of function
> >> calls leading up to the error, in the order they occurred. 
> >> 
> >>  /usr/local/lib/python2.4/site-packages/MoinMoin/request.py
> >> in run(self=)
> >>   809                     from MoinMoin.wikiaction import getHandler
> >>   810                     handler = getHandler(self,
> >> action)
> >>   811                     handler(self.page.page_name, self)
> >>   812 
> >>   813             # 5. Or redirect to another page
> >> handler = , self = > >> instance>, self.page = , self.page.page_name =
> >> u'WoodpeckerHacker'
> >> 
> >> /usr/local/lib/python2.4/site-packages/MoinMoin/wikiaction.py
> >> in do_savepage(pagename=u'WoodpeckerHacker',
> >> request=)
> >>   601         try:
> >>   602             savemsg = pg.saveText(savetext, rev,
> >> trivial=trivial,
> >>   603                                   comment=comment)
> >>   604         except pg.EditConflict, msg:
> >>   605             # Handle conflict and send editor
> >> comment = u''
> >> 
> >> /usr/local/lib/python2.4/site-packages/MoinMoin/PageEditor.py
> >> in saveText(self=, newtext=u"----
> >> /!\\ '''Edit conflict - other version:''' --...0Z)]]]\n\n---- /!\\ '''End of
> >> edit conflict''' ----\n", rev=0, **kw={'comment': u'', 'trivial': 0})
> >>   933             
> >>   934             # write the page file
> >>   935             mtime_usecs, rev =
> >> self._write_file(newtext, action, comment, extra)
> >>   936             self.clean_acl_cache()
> >>   937   
> >> mtime_usecs undefined, rev = 0, self = > >> instance>, self._write_file = > >> >, newtext = u"---- /!\\ '''Edit
> >> conflict - other version:''' --...0Z)]]]\n\n---- /!\\ '''End of edit
> >> conflict''' ----\n", action = 'SAVENEW', comment = u'', extra = u''
> >> 
> >> /usr/local/lib/python2.4/site-packages/MoinMoin/PageEditor.py
> >> in _write_file(self=, text=u"----
> >> /!\\ '''Edit conflict - other version:''' --...0Z)]]]\n\n---- /!\\ '''End of
> >> edit conflict''' ----\n", action='SAVENEW', comment=u'', extra=u'')
> >>   806         
> >>   807         if not got_lock:
> >>   808             raise self.CouldNotLock, _("Page could not get
> >> locked. Missing 'current' file?")
> >>   809         
> >>   810         # increment rev number of
> >> current(-locked) page
> >> self = , self.CouldNotLock = > >> MoinMoin.PageEditor.CouldNotLock>, _ undefined
> >> 
> >> NameError: global name '_' is not defined 
> >>       __doc__ = 'Name not found globally.' 
> >>       __getitem__ = > >> > 
> >>       __init__ = > >> instance>> 
> >>       __module__ = 'exceptions' 
> >>       __str__ = > >> instance>> 
> >>       args = ("global name '_' is not defined",) 
> >> 
> >> _______________________________________________
> >> python-chinese list
> >> python-chinese at lists.python.cn
> >> http://python.cn/mailman/listinfo/python-chinese
> >> 
> >> 
> >> 
> >
> >
> >-- 
> >Name:Steven Lu
> >Email:neveta at Gmail.com*
> >MSN:neveta at Gmail.com*
> >Mobile:+86 13325204605(24hours)
> >Telephone:+86 0533-3160666-4444 (8:00-18:00)    
> >                +86 0533-2715861 (18:00-21:30)
> >
> >* Please replace "at" with "@" to prevent the rubbish mail
> >* 为防止垃圾邮件,请自行将"at"替换为电邮符"@"
> >_______________________________________________
> >python-chinese list
> >python-chinese at lists.python.cn
> >http://python.cn/mailman/listinfo/python-chinese
> >
> 
> = = = = = = = = = = = = = = = = = = = =
> 
> 
>         致
> 礼!
>  
> 
>         业绩
>         zhuangyeji at 163.com
>           2005-06-28
> 
> 


--------------------------------------------------------------------------------


> _______________________________________________
> 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年06月28日 星期二 14:49

Zoom Quiet zoom.quiet at gmail.com
Tue Jun 28 14:49:07 HKT 2005

9494!! Python.cn 首页,开宗明义的说明了什么是 Python 哪!
不过,我们可以趁热打铁玩一个"一句话Python"
看如何可以恰当的在三秒钟内说明白什么是 Python
http://wiki.woodpecker.org.cn/moin/Python/OneWordPy

在 05-6-28,shiziliang<shizl at bis.com.cn> 写道:
> 我来告诉你我的认识,
> 
> python 中文意思是"蟒蛇"
> python 是一种类似perl的动态脚本语言。
> python 又是一种面向对象的语言,有点像java
> python 又是一种胶水语言,和其他语言一起使用,例如c,java
> python 在国外用的很多,听说做游戏的脚本使用python
> python 语法很简单,1个星期,或1个星期多一点,就可以搞定。
> python 中的成功的项目:bittorrent, mailman,红帽安装向导,etc
>>>> 请大家在补充一点:)
> 
> 
> ----- Original Message -----
> From: "业绩" <zhuangyeji at 163.com>
> To: "Steven Lu, python-chinese at lists." <neveta at gmail.com>; <python-chinese at lists.python.cn>
> Sent: Tuesday, June 28, 2005 2:19 PM
> Subject: Re: Re: [python-chinese] 啄木鸟出问题了
> 
> > Steven Lu,您好!
> >
> > 这位大哥!能告诉我什么是python吗?
> > 非常感谢哦……
> >
> >
> >
> > ======= 2005-06-28 12:13:45 您在来信中写道:=======
> >
> > >好像恢复了吧?
> > >
> > >2005/6/28, cpunion <cpunion at 263.net>:
> > >> 刚在行者堂编辑资料,保存时出现下面的页面,再打开行者堂,提示页面不存在。
> > >>
> > >> --> -->
> > >>
> > >>
> > >> NameErrorglobal name '_' is not definedPlease include this information in
> > >> your bug reports!:
> > >> Python Python 2.4: /usr/local/bin/python
> > >> FreeBSD host.woodpecker.org.cn 4.10-STABLE FreeBSD 4.10-STABLE #0: Tue Aug
> > >> i386
> > >> MoinMoin Release 1.3.3 [Revision 1.3.3 release]
> > >> Tue Jun 28 12:16:34 2005
> > >>
> > >> A problem occurred in a Python script. Here is the sequence of function
> > >> calls leading up to the error, in the order they occurred.
> > >>
> > >>  /usr/local/lib/python2.4/site-packages/MoinMoin/request.py
> > >> in run(self=)
> > >>   809                     from MoinMoin.wikiaction import getHandler
> > >>   810                     handler = getHandler(self,
> > >> action)
> > >>   811                     handler(self.page.page_name, self)
> > >>   812
> > >>   813             # 5. Or redirect to another page
> > >> handler = , self = > > >> instance>, self.page = , self.page.page_name =
> > >> u'WoodpeckerHacker'
> > >>
> > >> /usr/local/lib/python2.4/site-packages/MoinMoin/wikiaction.py
> > >> in do_savepage(pagename=u'WoodpeckerHacker',
> > >> request=)
> > >>   601         try:
> > >>   602             savemsg = pg.saveText(savetext, rev,
> > >> trivial=trivial,
> > >>   603                                   comment=comment)
> > >>   604         except pg.EditConflict, msg:
> > >>   605             # Handle conflict and send editor
> > >> comment = u''
> > >>
> > >> /usr/local/lib/python2.4/site-packages/MoinMoin/PageEditor.py
> > >> in saveText(self=, newtext=u"----
> > >> /!\\ '''Edit conflict - other version:''' --...0Z)]]]\n\n---- /!\\ '''End of
> > >> edit conflict''' ----\n", rev=0, **kw={'comment': u'', 'trivial': 0})
> > >>   933
> > >>   934             # write the page file
> > >>   935             mtime_usecs, rev =
> > >> self._write_file(newtext, action, comment, extra)
> > >>   936             self.clean_acl_cache()
> > >>   937
> > >> mtime_usecs undefined, rev = 0, self = > > >> instance>, self._write_file = > > >> >, newtext = u"---- /!\\ '''Edit
> > >> conflict - other version:''' --...0Z)]]]\n\n---- /!\\ '''End of edit
> > >> conflict''' ----\n", action = 'SAVENEW', comment = u'', extra = u''
> > >>
> > >> /usr/local/lib/python2.4/site-packages/MoinMoin/PageEditor.py
> > >> in _write_file(self=, text=u"----
> > >> /!\\ '''Edit conflict - other version:''' --...0Z)]]]\n\n---- /!\\ '''End of
> > >> edit conflict''' ----\n", action='SAVENEW', comment=u'', extra=u'')
> > >>   806
> > >>   807         if not got_lock:
> > >>   808             raise self.CouldNotLock, _("Page could not get
> > >> locked. Missing 'current' file?")
> > >>   809
> > >>   810         # increment rev number of
> > >> current(-locked) page
> > >> self = , self.CouldNotLock = > > >> MoinMoin.PageEditor.CouldNotLock>, _ undefined
> > >>
> > >> NameError: global name '_' is not defined
> > >>       __doc__ = 'Name not found globally.'
> > >>       __getitem__ = > > >> >
> > >>       __init__ = > > >> instance>>
> > >>       __module__ = 'exceptions'
> > >>       __str__ = > > >> instance>>
> > >>       args = ("global name '_' is not defined",)
> > >>
> > >> _______________________________________________
> > >> python-chinese list
> > >> python-chinese at lists.python.cn
> > >> http://python.cn/mailman/listinfo/python-chinese
> > >>
> > >>
> > >>
> > >
> > >
> > >--
> > >Name:Steven Lu
> > >Email:neveta at Gmail.com*
> > >MSN:neveta at Gmail.com*
> > >Mobile:+86 13325204605(24hours)
> > >Telephone:+86 0533-3160666-4444 (8:00-18:00)
> > >                +86 0533-2715861 (18:00-21:30)
> > >
> > >* Please replace "at" with "@" to prevent the rubbish mail
> > >* 为防止垃圾邮件,请自行将"at"替换为电邮符"@"
> > >_______________________________________________
> > >python-chinese list
> > >python-chinese at lists.python.cn
> > >http://python.cn/mailman/listinfo/python-chinese
> > >
> >
> > = = = = = = = = = = = = = = = = = = = =
> >
> >
> > 致
> > 礼!
> >
> >
> > 业绩
> > zhuangyeji at 163.com
> > 2005-06-28
> >
> >
> 
> --------------------------------------------------------------------------------
> 
> > _______________________________________________
> > python-chinese list
> > python-chinese at lists.python.cn
> > http://python.cn/mailman/listinfo/python-chinese
> > 
> _______________________________________________
> python-chinese list
> python-chinese at lists.python.cn
> http://python.cn/mailman/listinfo/python-chinese
> 
> 
> 


-- 
[Time is unimportant, only life important!]

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

2005年06月28日 星期二 15:20

March Liu march.liu at gmail.com
Tue Jun 28 15:20:45 HKT 2005

嗯,我们部门有一本《网游开发者指南》,是国外若干网游界大牛写的(包括最早的《子午线59》、《网络创世纪》等大作的幕后黑手),其中介绍开发技术时,专门提到了Python,也是唯一介绍的脚本语言。

在05-6-28,shiziliang <shizl at bis.com.cn> 写道:
> 
> 我来告诉你我的认识,
> 
> python 中文意思是"蟒蛇"
> python 是一种类似perl的动态脚本语言。
> python 又是一种面向对象的语言,有点像java
> python 又是一种胶水语言,和其他语言一起使用,例如c,java
> python 在国外用的很多,听说做游戏的脚本使用python
> python 语法很简单,1个星期,或1个星期多一点,就可以搞定。
> python 中的成功的项目:bittorrent, mailman,红帽安装向导,etc
>>>> 请大家在补充一点:)
> 
> 
> ----- Original Message -----
> From: "业绩" <zhuangyeji at 163.com>
> To: "Steven Lu, python-chinese at lists." <neveta at gmail.com>; <
> python-chinese at lists.python.cn>
> Sent: Tuesday, June 28, 2005 2:19 PM
> Subject: Re: Re: [python-chinese] 啄木鸟出问题了
> 
> > Steven Lu,您好!
> >
> > 这位大哥!能告诉我什么是python吗?
> > 非常感谢哦……
> >
> >
> >
> > ======= 2005-06-28 12:13:45 您在来信中写道:=======
> >
> > >好像恢复了吧?
> > >
> > >2005/6/28, cpunion <cpunion at 263.net>:
> > >> 刚在行者堂编辑资料,保存时出现下面的页面,再打开行者堂,提示页面不存在。
> > >>
> > >> --> -->
> > >>
> > >>
> > >> NameErrorglobal name '_' is not definedPlease include this 
> information in
> > >> your bug reports!:
> > >> Python Python 2.4: /usr/local/bin/python
> > >> FreeBSD host.woodpecker.org.cn <http://host.woodpecker.org.cn> 
> 4.10-STABLE FreeBSD 4.10-STABLE #0: Tue Aug
> > >> i386
> > >> MoinMoin Release 1.3.3 [Revision 1.3.3 release]
> > >> Tue Jun 28 12:16:34 2005
> > >>
> > >> A problem occurred in a Python script. Here is the sequence of 
> function
> > >> calls leading up to the error, in the order they occurred.
> > >>
> > >> /usr/local/lib/python2.4/site-packages/MoinMoin/request.py
> > >> in run(self=)
> > >> 809 from MoinMoin.wikiaction import getHandler
> > >> 810 handler = getHandler(self,
> > >> action)
> > >> 811 handler(self.page.page_name, self)
> > >> 812
> > >> 813 # 5. Or redirect to another page
> > >> handler = , self = > > >> instance>, self.page = , 
> self.page.page_name =
> > >> u'WoodpeckerHacker'
> > >>
> > >> /usr/local/lib/python2.4/site-packages/MoinMoin/wikiaction.py
> > >> in do_savepage(pagename=u'WoodpeckerHacker',
> > >> request=)
> > >> 601 try:
> > >> 602 savemsg = pg.saveText(savetext, rev,
> > >> trivial=trivial,
> > >> 603 comment=comment)
> > >> 604 except pg.EditConflict, msg:
> > >> 605 # Handle conflict and send editor
> > >> comment = u''
> > >>
> > >> /usr/local/lib/python2.4/site-packages/MoinMoin/PageEditor.py
> > >> in saveText(self=, 
> newtext=u"----
> > >> /!\\ '''Edit conflict - other version:''' --...0Z)]]]\n\n---- /!\\ 
> '''End of
> > >> edit conflict''' ----\n", rev=0, **kw={'comment': u'', 'trivial': 0})
> > >> 933
> > >> 934 # write the page file
> > >> 935 mtime_usecs, rev =
> > >> self._write_file(newtext, action, comment, extra)
> > >> 936 self.clean_acl_cache()
> > >> 937
> > >> mtime_usecs undefined, rev = 0, self = <
> MoinMoin.PageEditor.PageEditor
> > >> instance>, self._write_file = > > >> >, newtext = u"---- /!\\ 
> '''Edit
> > >> conflict - other version:''' --...0Z)]]]\n\n---- /!\\ '''End of edit
> > >> conflict''' ----\n", action = 'SAVENEW', comment = u'', extra = u''
> > >>
> > >> /usr/local/lib/python2.4/site-packages/MoinMoin/PageEditor.py
> > >> in _write_file(self=, 
> text=u"----
> > >> /!\\ '''Edit conflict - other version:''' --...0Z)]]]\n\n---- /!\\ 
> '''End of
> > >> edit conflict''' ----\n", action='SAVENEW', comment=u'', extra=u'')
> > >> 806
> > >> 807 if not got_lock:
> > >> 808 raise self.CouldNotLock, _("Page could not get
> > >> locked. Missing 'current' file?")
> > >> 809
> > >> 810 # increment rev number of
> > >> current(-locked) page
> > >> self = , self.CouldNotLock = 
> > > >> MoinMoin.PageEditor.CouldNotLock>, _ undefined
> > >>
> > >> NameError: global name '_' is not defined
> > >> __doc__ = 'Name not found globally.'
> > >> __getitem__ = > > >> >
> > >> __init__ = > > >> instance>>
> > >> __module__ = 'exceptions'
> > >> __str__ = > > >> instance>>
> > >> args = ("global name '_' is not defined",)
> > >>
> > >> _______________________________________________
> > >> python-chinese list
> > >> python-chinese at lists.python.cn
> > >> http://python.cn/mailman/listinfo/python-chinese
> > >>
> > >>
> > >>
> > >
> > >
> > >--
> > >Name:Steven Lu
> > >Email:neveta at Gmail.com*
> > >MSN:neveta at Gmail.com*
> > >Mobile:+86 13325204605(24hours)
> > >Telephone:+86 0533-3160666-4444 (8:00-18:00)
> > > +86 0533-2715861 (18:00-21:30)
> > >
> > >* Please replace "at" with "@" to prevent the rubbish mail
> > >* 为防止垃圾邮件,请自行将"at"替换为电邮符"@"
> > >_______________________________________________
> > >python-chinese list
> > >python-chinese at lists.python.cn
> > >http://python.cn/mailman/listinfo/python-chinese
> > >
> >
> > = = = = = = = = = = = = = = = = = = = =
> >
> >
> > 致
> > 礼!
> >
> >
> > 业绩
> > zhuangyeji at 163.com
> > 2005-06-28
> >
> >
> 
> 
> --------------------------------------------------------------------------------
> 
> > _______________________________________________
> > python-chinese list
> > python-chinese at lists.python.cn
> > http://python.cn/mailman/listinfo/python-chinese
> > 
> _______________________________________________
> python-chinese list
> python-chinese at lists.python.cn
> http://python.cn/mailman/listinfo/python-chinese
> 
> 
> 


-- 
欢迎访问:
http://blog.csdn.net/ccat

刘鑫
March.Liu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20050628/da3d9c6d/attachment.html

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

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

    你的回复:

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

    Zeuux © 2025

    京ICP备05028076号