Python论坛  - 讨论区

标题:[python-chinese] python2.5 with statement

2006年09月22日 星期五 09:08

jetrix chan jetrixc在gmail.com
星期五 九月 22 09:08:09 HKT 2006

’Ȇ‰žþØhº7šžœ­†‰öäü­†‰öæ½¹ç_tñ'©Û]´Ó­=ßÎ< ¸×]´Ó­9۔^tv­ã]u¢ybžìvO*^…éirŠr®(!µÊÞv+l¢¹bqéìyú+šŠÞŠwè®f­Š‰ðŠØyjƬµØ§Õf«ž)àÂ+aÂ)emç(™æ«zÇ«½çd{,(­Ø§?+a¢}º)^²×bžX§{\"¶Z±¤²žÖ±ºè®)ïjX³)ík^²Ô^ªÝ°—­®,B…©ãzÚâÅÈ&j;)\¢aÓ0µ.m§ÿéÊØhÉÿ¦*^®f¢—úr¶'r§zÇ¿jÛZržžÛ?ÛM:Óݶÿ]Ùç¹×ö­µ§!™éí†Ù¥

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

2006年09月23日 星期六 11:53

jetrix chan jetrixc在gmail.com
星期六 九月 23 11:53:51 HKT 2006

up
2006/9/22, jetrix chan <jetrixc在gmail.com>:
> 我这里运行的情况是:
> ksh: /home/thoujean >: python2.5
> Python 2.5 (r25:51908, Sep 21 2006, 09:38:48)
> [GCC 4.1.1 20060525 (Red Hat 4.1.1-1)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> with 5 as a:
> :1: Warning: 'with' will become a reserved keyword in Python 2.6
>  File "", line 1
>  with 5 as a:
>  ^
> SyntaxError: invalid syntax
>  >>>
>
>
> 不知道各位的情况怎么样?
>
>
> --
> Best Regards,
>          Jetrix Chan
> ----
> jetrixc在gmail.com


-- 
Best Regards,
         Jetrix Chan
----
jetrixc在gmail.com

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

2006年09月23日 星期六 12:00

shhgs shhgs.efhilt在gmail.com
星期六 九月 23 12:00:07 HKT 2006

你应该去看看Py 2.5 Manual 的what's new

不过在此之前,你应该先去读读《提问的艺术》,如果找不到,可以用google,百度,Yahoo也行。

On 9/22/06, jetrix chan <jetrixc在gmail.com> wrote:
> up
> 2006/9/22, jetrix chan <jetrixc在gmail.com>:
> > 我这里运行的情况是:
> > ksh: /home/thoujean >: python2.5
> > Python 2.5 (r25:51908, Sep 21 2006, 09:38:48)
> > [GCC 4.1.1 20060525 (Red Hat 4.1.1-1)] on linux2
> > Type "help", "copyright", "credits" or "license" for more information.
> > >>> with 5 as a:
> > :1: Warning: 'with' will become a reserved keyword in Python 2.6
> >  File "", line 1
> >  with 5 as a:
> >  ^
> > SyntaxError: invalid syntax
> >  >>>
> >
> >
> > 不知道各位的情况怎么样?
> >
> >
> > --
> > Best Regards,
> >          Jetrix Chan
> > ----
> > jetrixc在gmail.com
>
>
> --
> Best Regards,
>          Jetrix Chan
> ----
> jetrixc在gmail.com
> _______________________________________________
> python-chinese
> Post: send python-chinese在lists.python.cn
> Subscribe: send subscribe to python-chinese-request在lists.python.cn
> Unsubscribe: send unsubscribe to  python-chinese-request在lists.python.cn
> Detail Info: http://python.cn/mailman/listinfo/python-chinese

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

2006年09月23日 星期六 13:40

jetrix chan jetrixc在gmail.com
星期六 九月 23 13:40:19 HKT 2006

自认为是大牛的家伙,请问你的python2.5的with运行是怎么样的?你试过吗?

2006/9/23, shhgs <shhgs.efhilt在gmail.com>:
> 你应该去看看Py 2.5 Manual 的what's new
>
> 不过在此之前,你应该先去读读《提问的艺术》,如果找不到,可以用google,百度,Yahoo也行。
>
> On 9/22/06, jetrix chan <jetrixc在gmail.com> wrote:
> > up
> > 2006/9/22, jetrix chan <jetrixc在gmail.com>:
> > > 我这里运行的情况是:
> > > ksh: /home/thoujean >: python2.5
> > > Python 2.5 (r25:51908, Sep 21 2006, 09:38:48)
> > > [GCC 4.1.1 20060525 (Red Hat 4.1.1-1)] on linux2
> > > Type "help", "copyright", "credits" or "license" for more information.
> > > >>> with 5 as a:
> > > :1: Warning: 'with' will become a reserved keyword in Python 2.6
> > >  File "", line 1
> > >  with 5 as a:
> > >  ^
> > > SyntaxError: invalid syntax
> > >  >>>
> > >
> > >
> > > 不知道各位的情况怎么样?
> > >
> > >
> > > --
> > > Best Regards,
> > >          Jetrix Chan
> > > ----
> > > jetrixc在gmail.com
> >
> >
> > --
> > Best Regards,
> >          Jetrix Chan
> > ----
> > jetrixc在gmail.com
> > _______________________________________________
> > python-chinese
> > Post: send python-chinese在lists.python.cn
> > Subscribe: send subscribe to python-chinese-request在lists.python.cn
> > Unsubscribe: send unsubscribe to  python-chinese-request在lists.python.cn
> > Detail Info: http://python.cn/mailman/listinfo/python-chinese
> _______________________________________________
> python-chinese
> Post: send python-chinese在lists.python.cn
> Subscribe: send subscribe to python-chinese-request在lists.python.cn
> Unsubscribe: send unsubscribe to  python-chinese-request在lists.python.cn
> Detail Info: http://python.cn/mailman/listinfo/python-chinese


-- 
Best Regards,
         Jetrix Chan
----
jetrixc在gmail.com

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

2006年09月23日 星期六 14:07

jetrix chan jetrixc在gmail.com
星期六 九月 23 14:07:22 HKT 2006

找到了,谢谢大牛们.


2006/9/23, jetrix chan <jetrixc在gmail.com>:
> 自认为是大牛的家伙,请问你的python2.5的with运行是怎么样的?你试过吗?
>
> 2006/9/23, shhgs <shhgs.efhilt在gmail.com>:
> > 你应该去看看Py 2.5 Manual 的what's new
> >
> > 不过在此之前,你应该先去读读《提问的艺术》,如果找不到,可以用google,百度,Yahoo也行。
> >
> > On 9/22/06, jetrix chan <jetrixc在gmail.com> wrote:
> > > up
> > > 2006/9/22, jetrix chan <jetrixc在gmail.com>:
> > > > 我这里运行的情况是:
> > > > ksh: /home/thoujean >: python2.5
> > > > Python 2.5 (r25:51908, Sep 21 2006, 09:38:48)
> > > > [GCC 4.1.1 20060525 (Red Hat 4.1.1-1)] on linux2
> > > > Type "help", "copyright", "credits" or "license" for more information.
> > > > >>> with 5 as a:
> > > > :1: Warning: 'with' will become a reserved keyword in Python 2.6
> > > >  File "", line 1
> > > >  with 5 as a:
> > > >  ^
> > > > SyntaxError: invalid syntax
> > > >  >>>
> > > >
> > > >
> > > > 不知道各位的情况怎么样?
> > > >
> > > >
> > > > --
> > > > Best Regards,
> > > >          Jetrix Chan
> > > > ----
> > > > jetrixc在gmail.com
> > >
> > >
> > > --
> > > Best Regards,
> > >          Jetrix Chan
> > > ----
> > > jetrixc在gmail.com
> > > _______________________________________________
> > > python-chinese
> > > Post: send python-chinese在lists.python.cn
> > > Subscribe: send subscribe to python-chinese-request在lists.python.cn
> > > Unsubscribe: send unsubscribe to  python-chinese-request在lists.python.cn
> > > Detail Info: http://python.cn/mailman/listinfo/python-chinese
> > _______________________________________________
> > python-chinese
> > Post: send python-chinese在lists.python.cn
> > Subscribe: send subscribe to python-chinese-request在lists.python.cn
> > Unsubscribe: send unsubscribe to  python-chinese-request在lists.python.cn
> > Detail Info: http://python.cn/mailman/listinfo/python-chinese
>
>
> --
> Best Regards,
>          Jetrix Chan
> ----
> jetrixc在gmail.com
>


-- 
Best Regards,
         Jetrix Chan
----
jetrixc在gmail.com

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

2006年09月24日 星期日 01:32

Linker Lin linkerlin88在gmail.com
星期日 九月 24 01:32:40 HKT 2006

请注意礼节.
你应该感谢有人读你的信,更不用说有人善意的提示你问问题的方法了.


On 9/23/06, jetrix chan <jetrixc在gmail.com> wrote:
>
> 找到了,谢谢大牛们.
>
>
> 2006/9/23, jetrix chan <jetrixc在gmail.com>:
> > 自认为是大牛的家伙,请问你的python2.5的with运行是怎么样的?你试过吗?
> >
> > 2006/9/23, shhgs <shhgs.efhilt在gmail.com>:
> > > 你应该去看看Py 2.5 Manual 的what's new
> > >
> > > 不过在此之前,你应该先去读读《提问的艺术》,如果找不到,可以用google,百度,Yahoo也行。
> > >
> > > On 9/22/06, jetrix chan <jetrixc在gmail.com> wrote:
> > > > up
> > > > 2006/9/22, jetrix chan <jetrixc在gmail.com>:
> > > > > 我这里运行的情况是:
> > > > > ksh: /home/thoujean >: python2.5
> > > > > Python 2.5 (r25:51908, Sep 21 2006, 09:38:48)
> > > > > [GCC 4.1.1 20060525 (Red Hat 4.1.1-1)] on linux2
> > > > > Type "help", "copyright", "credits" or "license" for more
> information.
> > > > > >>> with 5 as a:
> > > > > :1: Warning: 'with' will become a reserved keyword in
> Python 2.6
> > > > >  File "", line 1
> > > > >  with 5 as a:
> > > > >  ^
> > > > > SyntaxError: invalid syntax
> > > > >  >>>
> > > > >
> > > > >
> > > > > 不知道各位的情况怎么样?
> > > > >
> > > > >
> > > > > --
> > > > > Best Regards,
> > > > >          Jetrix Chan
> > > > > ----
> > > > > jetrixc在gmail.com
> > > >
> > > >
> > > > --
> > > > Best Regards,
> > > >          Jetrix Chan
> > > > ----
> > > > jetrixc在gmail.com
> > > > _______________________________________________
> > > > python-chinese
> > > > Post: send python-chinese在lists.python.cn
> > > > Subscribe: send subscribe to python-chinese-request在lists.python.cn
> > > > Unsubscribe: send unsubscribe to
> python-chinese-request在lists.python.cn
> > > > Detail Info: http://python.cn/mailman/listinfo/python-chinese
> > > _______________________________________________
> > > python-chinese
> > > Post: send python-chinese在lists.python.cn
> > > Subscribe: send subscribe to python-chinese-request在lists.python.cn
> > > Unsubscribe: send unsubscribe to
> python-chinese-request在lists.python.cn
> > > Detail Info: http://python.cn/mailman/listinfo/python-chinese
> >
> >
> > --
> > Best Regards,
> >          Jetrix Chan
> > ----
> > jetrixc在gmail.com
> >
>
>
> --
> Best Regards,
>          Jetrix Chan
> ----
> jetrixc在gmail.com
> _______________________________________________
> python-chinese
> Post: send python-chinese在lists.python.cn
> Subscribe: send subscribe to python-chinese-request在lists.python.cn
> Unsubscribe: send unsubscribe to  python-chinese-request在lists.python.cn
> Detail Info: http://python.cn/mailman/listinfo/python-chinese




-- 
Linker M Lin
linkerlin88在gmail.com
linker.m.lin在gmail.com
  ※※※※※※※※※
  ※※我思故我在※※
  ※※※※※※※※※
-------------- 下一部分 --------------
一个HTML附件被移除...
URL: http://python.cn/pipermail/python-chinese/attachments/20060924/4532862e/attachment.html 

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

2006年09月27日 星期三 22:11

hongbozhang hbzhang.1983在gmail.com
星期三 九月 27 22:11:28 HKT 2006

ÌÖÂÛÊǸö¹ý³Ì ÿ¸öÈ˶¼¿ÉÒÔ½ø²½¡«ºÇºÇ

On 9/24/06, Linker Lin <linkerlin88在gmail.com> wrote:
>
> Çë×¢ÒâÀñ½Ú.
> ÄãÓ¦¸Ã¸ÐлÓÐÈ˶ÁÄãµÄÐÅ,¸ü²»ÓÃ˵ÓÐÈËÉÆÒâµÄÌáʾÄãÎÊÎÊÌâµÄ·½·¨ÁË.
>
>
> On 9/23/06, jetrix chan <jetrixc在gmail.com> wrote:
> >
> > ÕÒµ½ÁË£¬Ð»Ð»´óÅ£ÃÇ.
> >
> >
> > 2006/9/23, jetrix chan <jetrixc在gmail.com>:
> > > ×ÔÈÏΪÊÇ´óÅ£µÄ¼Ò»ï£¬ÇëÎÊÄãµÄpython2.5µÄwithÔËÐÐÊÇÔõôÑùµÄ£¿ÄãÊÔ¹ýÂð£¿
> > >
> > > 2006/9/23, shhgs < shhgs.efhilt在gmail.com>:
> > > > ÄãÓ¦¸ÃÈ¥¿´¿´Py 2.5 Manual µÄwhat's new
> > > >
> > > > ²»¹ýÔÚ´Ë֮ǰ£¬ÄãÓ¦¸ÃÏÈÈ¥¶Á¶Á¡¶ÌáÎʵÄÒÕÊõ¡·£¬Èç¹ûÕÒ²»µ½£¬¿ÉÒÔÓÃgoogle£¬°Ù¶È£¬YahooÒ²ÐС£
> > > >
> > > > On 9/22/06, jetrix chan < jetrixc在gmail.com> wrote:
> > > > > up
> > > > > 2006/9/22, jetrix chan <jetrixc在gmail.com>:
> > > > > > ÎÒÕâÀïÔËÐеÄÇé¿öÊÇ£º
> > > > > > ksh: /home/thoujean >: python2.5
> > > > > > Python 2.5 (r25:51908, Sep 21 2006, 09:38:48)
> > > > > > [GCC 4.1.1 20060525 (Red Hat 4.1.1-1)] on linux2
> > > > > > Type "help", "copyright", "credits" or "license" for more
> > information.
> > > > > > >>> with 5 as a:
> > > > > > :1: Warning: 'with' will become a reserved keyword in
> > Python 2.6
> > > > > >  File "", line 1
> > > > > >  with 5 as a:
> > > > > >  ^
> > > > > > SyntaxError: invalid syntax
> > > > > >  >>>
> > > > > >
> > > > > >
> > > > > > ²»ÖªµÀ¸÷λµÄÇé¿öÔõôÑù£¿
> > > > > >
> > > > > >
> > > > > > --
> > > > > > Best Regards,
> > > > > >          Jetrix Chan
> > > > > > ----
> > > > > > jetrixc在gmail.com
> > > > >
> > > > >
> > > > > --
> > > > > Best Regards,
> > > > >          Jetrix Chan
> > > > > ----
> > > > > jetrixc在gmail.com
> > > > > _______________________________________________
> > > > > python-chinese
> > > > > Post: send python-chinese在lists.python.cn
> > > > > Subscribe: send subscribe to
> > python-chinese-request在lists.python.cn
> > > > > Unsubscribe: send unsubscribe to  python-chinese-request在lists.python.cn
> >
> > > > > Detail Info: http://python.cn/mailman/listinfo/python-chinese
> > > > _______________________________________________
> > > > python-chinese
> > > > Post: send python-chinese在lists.python.cn
> > > > Subscribe: send subscribe to python-chinese-request在lists.python.cn
> > > > Unsubscribe: send unsubscribe to
> > python-chinese-request在lists.python.cn
> > > > Detail Info: http://python.cn/mailman/listinfo/python-chinese
> > >
> > >
> > > --
> > > Best Regards,
> > >          Jetrix Chan
> > > ----
> > > jetrixc在gmail.com
> > >
> >
> >
> > --
> > Best Regards,
> >          Jetrix Chan
> > ----
> > jetrixc在gmail.com
> > _______________________________________________
> > python-chinese
> > Post: send python-chinese在lists.python.cn
> > Subscribe: send subscribe to python-chinese-request在lists.python.cn
> > Unsubscribe: send unsubscribe to  python-chinese-request在lists.python.cn
> > Detail Info: http://python.cn/mailman/listinfo/python-chinese
>
>
>
>
> --
> Linker M Lin
> linkerlin88在gmail.com
> linker.m.lin在gmail.com
>   ¡ù¡ù¡ù¡ù¡ù¡ù¡ù¡ù¡ù
>   ¡ù¡ùÎÒ˼¹ÊÎÒÔÚ¡ù¡ù
>   ¡ù¡ù¡ù¡ù¡ù¡ù¡ù¡ù¡ù
> _______________________________________________
> python-chinese
> Post: send python-chinese在lists.python.cn
> Subscribe: send subscribe to python-chinese-request在lists.python.cn
> Unsubscribe: send unsubscribe to  python-chinese-request在lists.python.cn
> Detail Info: http://python.cn/mailman/listinfo/python-chinese
>
-------------- 下一部分 --------------
Ò»¸öHTML¸½¼þ±»ÒƳý...
URL: http://python.cn/pipermail/python-chinese/attachments/20060927/1bcf4f08/attachment-0001.htm 
-------------- 下一部分 --------------
Ò»¸ö·ÇÎı¾¸½¼þ±»Çå³ý...
·¢ÐÅÈË: %(who)s
Ö÷Ìâ: %(subject)s
ÈÕÆÚ: %(date)s
´óС: 9371
Url: http://python.cn/pipermail/python-chinese/attachments/20060927/1bcf4f08/attachment-0001.icz 
-------------- 下一部分 --------------
Ò»¸ö·ÇÎı¾¸½¼þ±»Çå³ý...
·¢ÐÅÈË: %(who)s
Ö÷Ìâ: %(subject)s
ÈÕÆÚ: %(date)s
´óС: 9188
Url: http://python.cn/pipermail/python-chinese/attachments/20060927/1bcf4f08/attachment-0001.bin 

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

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

    你的回复:

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

    Zeuux © 2025

    京ICP备05028076号