2006年07月24日 星期一 22:39
我在实验tut2.5(感谢王鑫老师的翻译)中提到的程序代码的时候,出现了这样的问题。 麻烦大牛给解决一下 原文如下: 3.1 if Statements Perhaps the most well-known statement type is the if statement. For example: >>> x = int(raw_input("Please enter an integer: ")) >>> if x < 0: ... x = 0 ... print 'Negative changed to zero' ... elif x == 0: ... print 'Zero' ... elif x == 1: ... print 'Single' ... else: ... print 'More' 可是我在IDLE中敲上面的程序的时候,成了这样: >>> x = int( raw_input ("Please enter an integer:")) Please enter an integer:12 >>> if x < 0: x = 0 print 'Negative changed to 0' elif x == 0: SyntaxError: invalid syntax >>> -- http://blog.csdn.net/simonyanix -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060724/f4a9f13b/attachment-0001.htm
2006年07月24日 星期一 22:46
译者是姓刘!!! 对你的问题,我猜一定是你没有弄好缩进,python里面对缩进要求很严格的。
2006年07月24日 星期一 22:49
应该是缩进的问题,你再试试吧~~ 输入elif的时候,把前面的缩进去掉~ 2006/7/24, Simon Yan <simonyanix at gmail.com>: > > 我在实验tut2.5(感谢王鑫老师的翻译)中提到的程序代码的时候,出现了这样的问题。 > 麻烦大牛给解决一下 > 原文如下: > 3.1 if Statements > Perhaps the most well-known statement type is the if statement. For > example: > > >>> x = int(raw_input("Please enter an integer: ")) > >>> if x < 0: > ... x = 0 > ... print 'Negative changed to zero' > ... elif x == 0: > ... print 'Zero' > ... elif x == 1: > ... print 'Single' > ... else: > ... print 'More' > > > 可是我在IDLE中敲上面的程序的时候,成了这样: > >>> x = int( raw_input ("Please enter an integer:")) > Please enter an integer:12 > >>> if x < 0: > x = 0 > print 'Negative changed to 0' > elif x == 0: > > SyntaxError: invalid syntax > >>> > > -- > http://blog.csdn.net/simonyanix > > _______________________________________________ > python-chinese > Post: send python-chinese at lists.python.cn > Subscribe: send subscribe to python-chinese-request at lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060724/84ffbcc8/attachment.html
2006年07月24日 星期一 22:53
sry,打错. 刘老师,对不住了! 当时有同学在旁边捣乱:) 可是,我是敲完上面一行以后它给的自动缩进啊. 那是应该用空格缩进呢,还是用tab缩进? 2006/7/24, 3751 <lwm3751 at gmail.com>: > > 译者是姓刘!!! > 对你的问题,我猜一定是你没有弄好缩进,python里面对缩进要求很严格的。 > > _______________________________________________ > python-chinese > Post: send python-chinese at lists.python.cn > Subscribe: send subscribe to python-chinese-request at lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > -- http://blog.csdn.net/simonyanix -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060724/0256dc81/attachment.htm
2006年07月24日 星期一 22:55
果然成了 嘿嘿 小问题 麻烦大家了 2006/7/24, Chao Xiong <chaox.maillist at gmail.com>: > > 应该是缩进的问题,你再试试吧~~ > 输入elif的时候,把前面的缩进去掉~ > > > 2006/7/24, Simon Yan <simonyanix at gmail.com>: > > > > 我在实验tut2.5(感谢王鑫老师的翻译)中提到的程序代码的时候,出现了这样的问题。 > 麻烦大牛给解决一下 > 原文如下: > 3.1 if Statements > Perhaps the most well-known statement type is the if statement. For > example: > > >>> x = int(raw_input("Please enter an integer: ")) > >>> if x < 0: > ... x = 0 > ... print 'Negative changed to zero' > ... elif x == 0: > ... print 'Zero' > ... elif x == 1: > ... print 'Single' > ... else: > ... print 'More' > > > 可是我在IDLE中敲上面的程序的时候,成了这样: > >>> x = int( raw_input ("Please enter an integer:")) > Please enter an integer:12 > >>> if x < 0: > x = 0 > print 'Negative changed to 0' > elif x == 0: > > SyntaxError: invalid syntax > >>> > > -- > http://blog.csdn.net/simonyanix > > _______________________________________________ > python-chinese > Post: send python-chinese at lists.python.cn > Subscribe: send subscribe to python-chinese-request at lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > > > _______________________________________________ > python-chinese > Post: send python-chinese at lists.python.cn > Subscribe: send subscribe to python-chinese-request at lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > -- http://blog.csdn.net/simonyanix -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060724/168dda57/attachment-0001.html
2006年07月25日 星期二 11:06
能给一个tut 2.5的链接吗,多谢了 2006/7/24, Simon Yan <simonyanix at gmail.com>: > > 果然成了 > 嘿嘿 > 小问题 > 麻烦大家了 > > 2006/7/24, Chao Xiong <chaox.maillist at gmail.com>: > > > > 应该是缩进的问题,你再试试吧~~ > 输入elif的时候,把前面的缩进去掉~ > > > 2006/7/24, Simon Yan <simonyanix at gmail.com>: > > > > 我在实验tut2.5(感谢王鑫老师的翻译)中提到的程序代码的时候,出现了这样的问题。 > 麻烦大牛给解决一下 > 原文如下: > 3.1 if Statements > Perhaps the most well-known statement type is the if statement. For > example: > > >>> x = int(raw_input("Please enter an integer: ")) > >>> if x < 0: > ... x = 0 > ... print 'Negative changed to zero' > ... elif x == 0: > ... print 'Zero' > ... elif x == 1: > ... print 'Single' > ... else: > ... print 'More' > > > 可是我在IDLE中敲上面的程序的时候,成了这样: > >>> x = int( raw_input ("Please enter an integer:")) > Please enter an integer:12 > >>> if x < 0: > x = 0 > print 'Negative changed to 0' > elif x == 0: > > SyntaxError: invalid syntax > >>> > > -- > http://blog.csdn.net/simonyanix > > _______________________________________________ > python-chinese > Post: send python-chinese at lists.python.cn > Subscribe: send subscribe to python-chinese-request at lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > > > _______________________________________________ > > python-chinese > Post: send python-chinese at lists.python.cn > Subscribe: send subscribe to python-chinese-request at lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > > > > -- > http://blog.csdn.net/simonyanix > > _______________________________________________ > python-chinese > Post: send python-chinese at lists.python.cn > Subscribe: send subscribe to python-chinese-request at lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060725/5882ef7f/attachment.html
2006年07月25日 星期二 11:16
http://wiki.woodpecker.org.cn/moin/March_Liu/PyTutorial 2006/7/25, Dawei Pang <pangdae at gmail.com>: > > 能给一个tut 2.5的链接吗,多谢了 > > -- 欢迎访问: http://blog.csdn.net/ccat 刘鑫 March.Liu -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060725/7e5e4745/attachment.htm
2006年07月25日 星期二 15:06
我用的是Cygwin. print 似乎只能打印白色的。 哪个库提供打印彩色的字的API? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060725/ba9315ff/attachment.html
2006年07月25日 星期二 15:47
ANSI 然后加控制码.或用cursor.h(名字不确定)库.. ----- Original Message ----- From: lianchao To: python-chinese at lists.python.cn Sent: Tuesday, July 25, 2006 3:06 PM Subject: [python-chinese] 如何在控制台下打印彩色的字 我用的是Cygwin. print 似乎只能打印白色的。 哪个库提供打印彩色的字的API? ------------------------------------------------------------------------------ _______________________________________________ python-chinese Post: send python-chinese at lists.python.cn Subscribe: send subscribe to python-chinese-request at lists.python.cn Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn Detail Info: http://python.cn/mailman/listinfo/python-chinese -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060725/f90a0b07/attachment.htm
2006年07月26日 星期三 08:27
前面加控制符。shell下面我知道用tput setaf命令。比如tput setaf 1是红色,4是蓝色等等。 Py下面可以用curses。当然,直接拿到控制符,然后往字符串前面加也应该可以。 On 7/25/06, netkiller <openunix at 163.com> wrote: > > > ANSI 然后加控制码.或用cursor.h(名字不确定)库.. > > ----- Original Message ----- > From: lianchao > To: python-chinese at lists.python.cn > Sent: Tuesday, July 25, 2006 3:06 PM > Subject: [python-chinese] 如何在控制台下打印彩色的字 > > > 我用的是Cygwin. > print 似乎只能打印白色的。 > 哪个库提供打印彩色的字的API? > > > ________________________________ > > > _______________________________________________ > python-chinese > Post: send python-chinese at lists.python.cn > Subscribe: send subscribe to > python-chinese-request at lists.python.cn > Unsubscribe: send unsubscribe to > python-chinese-request at lists.python.cn > Detail Info: > http://python.cn/mailman/listinfo/python-chinese > > > _______________________________________________ > python-chinese > Post: send python-chinese at lists.python.cn > Subscribe: send subscribe to > python-chinese-request at lists.python.cn > Unsubscribe: send unsubscribe to > python-chinese-request at lists.python.cn > Detail Info: > http://python.cn/mailman/listinfo/python-chinese > >
2006年07月26日 星期三 14:26
windows下面可以考虑 http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/496901 在做完改变以后,可以利用 print set_color(FOREGROUND_BLUE | FOREGROUND_GREEN | FOREGROUND_RED) 来回复原来的背景。 附件是我这边测试的截图 On 7/25/06, lianchao <lianchao at sega-wow.com> wrote: > > > 我用的是Cygwin. > print 似乎只能打印白色的。 > 哪个库提供打印彩色的字的API? > > _______________________________________________ > python-chinese > Post: send python-chinese at lists.python.cn > Subscribe: send subscribe to > python-chinese-request at lists.python.cn > Unsubscribe: send unsubscribe to > python-chinese-request at lists.python.cn > Detail Info: > http://python.cn/mailman/listinfo/python-chinese > > -------------- next part -------------- A non-text attachment was scrubbed... Name: conso.png Type: image/png Size: 6159 bytes Desc: not available Url : http://lists.exoweb.net/pipermail/python-chinese/attachments/20060726/e31ba8cc/conso-0001.png
2006年07月26日 星期三 15:51
问一下..active python 好用吗?? ----- Original Message ----- From: "ainulinde" <ainulinde at gmail.com> To: <python-chinese at lists.python.cn> Sent: Wednesday, July 26, 2006 2:26 PM Subject: Re: [python-chinese] 如何在控制台下打印彩色的字 > windows下面可以考虑 > http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/496901 > 在做完改变以后,可以利用 > print set_color(FOREGROUND_BLUE | FOREGROUND_GREEN | FOREGROUND_RED) > 来回复原来的背景。 > 附件是我这边测试的截图 > > > On 7/25/06, lianchao <lianchao at sega-wow.com> wrote: >> >> >> 我用的是Cygwin. >> print 似乎只能打印白色的。 >> 哪个库提供打印彩色的字的API? >> >> _______________________________________________ >> python-chinese >> Post: send python-chinese at lists.python.cn >> Subscribe: send subscribe to >> python-chinese-request at lists.python.cn >> Unsubscribe: send unsubscribe to >> python-chinese-request at lists.python.cn >> Detail Info: >> http://python.cn/mailman/listinfo/python-chinese >> >> > -------------------------------------------------------------------------------- > _______________________________________________ > python-chinese > Post: send python-chinese at lists.python.cn > Subscribe: send subscribe to python-chinese-request at lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese
2006年07月26日 星期三 16:08
active python的ide比官方的哪个idle方便些。有代码自动提示,代码单步调试单步什么的对unicode的字符也能直接显示。 而且集成了pywin32,一向比较懒,所以都是装active python的。 On 7/26/06, netkiller <openunix at 163.com> wrote: > > 问一下..active python 好用吗?? > ----- Original Message ----- > From: "ainulinde" <ainulinde at gmail.com> > To: <python-chinese at lists.python.cn> > Sent: Wednesday, July 26, 2006 2:26 PM > Subject: Re: [python-chinese] 如何在控制台下打印彩色的字 > > > > windows下面可以考虑 > > http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/496901 > > 在做完改变以后,可以利用 > > print set_color(FOREGROUND_BLUE | FOREGROUND_GREEN | FOREGROUND_RED) > > 来回复原来的背景。 > > 附件是我这边测试的截图 > > > > > > On 7/25/06, lianchao <lianchao at sega-wow.com> wrote: > >> > >> > >> 我用的是Cygwin. > >> print 似乎只能打印白色的。 > >> 哪个库提供打印彩色的字的API? > >> > >> _______________________________________________ > >> python-chinese > >> Post: send python-chinese at lists.python.cn > >> Subscribe: send subscribe to > >> python-chinese-request at lists.python.cn > >> Unsubscribe: send unsubscribe to > >> python-chinese-request at lists.python.cn > >> Detail Info: > >> http://python.cn/mailman/listinfo/python-chinese > >> > >> > > > > > -------------------------------------------------------------------------------- > > > > _______________________________________________ > > python-chinese > > Post: send python-chinese at lists.python.cn > > Subscribe: send subscribe to python-chinese-request at lists.python.cn > > Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn > > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > > > _______________________________________________ > python-chinese > Post: send python-chinese at lists.python.cn > Subscribe: send subscribe to python-chinese-request at lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese >
2006年07月26日 星期三 16:36
那我以后也用.active python 是因为下载active perl 时看到的.哈哈. ----- Original Message ----- From: "ainulinde" <ainulinde at gmail.com> To: <python-chinese at lists.python.cn> Sent: Wednesday, July 26, 2006 4:08 PM Subject: Re: [python-chinese] 如何在控制台下打印彩色的字 > active python的ide比官方的哪个idle方便些。有代码自动提示,代码单步调试单步什么的对unicode的字符也能直接显示。 > 而且集成了pywin32,一向比较懒,所以都是装active python的。 > > On 7/26/06, netkiller <openunix at 163.com> wrote: >> >> 问一下..active python 好用吗?? >> ----- Original Message ----- >> From: "ainulinde" <ainulinde at gmail.com> >> To: <python-chinese at lists.python.cn> >> Sent: Wednesday, July 26, 2006 2:26 PM >> Subject: Re: [python-chinese] 如何在控制台下打印彩色的字 >> >> >> > windows下面可以考虑 >> > http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/496901 >> > 在做完改变以后,可以利用 >> > print set_color(FOREGROUND_BLUE | FOREGROUND_GREEN | FOREGROUND_RED) >> > 来回复原来的背景。 >> > 附件是我这边测试的截图 >> > >> > >> > On 7/25/06, lianchao <lianchao at sega-wow.com> wrote: >> >> >> >> >> >> 我用的是Cygwin. >> >> print 似乎只能打印白色的。 >> >> 哪个库提供打印彩色的字的API? >> >> >> >> _______________________________________________ >> >> python-chinese >> >> Post: send python-chinese at lists.python.cn >> >> Subscribe: send subscribe to >> >> python-chinese-request at lists.python.cn >> >> Unsubscribe: send unsubscribe to >> >> python-chinese-request at lists.python.cn >> >> Detail Info: >> >> http://python.cn/mailman/listinfo/python-chinese >> >> >> >> >> > >> >> >> -------------------------------------------------------------------------------- >> >> >> > _______________________________________________ >> > python-chinese >> > Post: send python-chinese at lists.python.cn >> > Subscribe: send subscribe to python-chinese-request at lists.python.cn >> > Unsubscribe: send unsubscribe to >> > python-chinese-request at lists.python.cn >> > Detail Info: http://python.cn/mailman/listinfo/python-chinese >> >> >> >> _______________________________________________ >> python-chinese >> Post: send python-chinese at lists.python.cn >> Subscribe: send subscribe to python-chinese-request at lists.python.cn >> Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn >> Detail Info: http://python.cn/mailman/listinfo/python-chinese >> > -------------------------------------------------------------------------------- > _______________________________________________ > python-chinese > Post: send python-chinese at lists.python.cn > Subscribe: send subscribe to python-chinese-request at lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese
2006年07月26日 星期三 17:50
我前几个月装过一次active perl,装好以后,没有类似于idle/pythonwin这样的编辑器。 问了熟悉perl的人,他说本来就是这样的,看来perl的人都比较厉害啊。 On 7/26/06, netkiller <openunix at 163.com> wrote: > > 那我以后也用.active python > 是因为下载active perl 时看到的.哈哈. > > ----- Original Message ----- > From: "ainulinde" <ainulinde at gmail.com> > To: <python-chinese at lists.python.cn> > Sent: Wednesday, July 26, 2006 4:08 PM > Subject: Re: [python-chinese] 如何在控制台下打印彩色的字 > > > > active python的ide比官方的哪个idle方便些。有代码自动提示,代码单步调试单步什么的对unicode的字符也能直接显示。 > > 而且集成了pywin32,一向比较懒,所以都是装active python的。 > > > > On 7/26/06, netkiller <openunix at 163.com> wrote: > >> > >> 问一下..active python 好用吗?? > >> ----- Original Message ----- > >> From: "ainulinde" <ainulinde at gmail.com> > >> To: <python-chinese at lists.python.cn> > >> Sent: Wednesday, July 26, 2006 2:26 PM > >> Subject: Re: [python-chinese] 如何在控制台下打印彩色的字 > >> > >> > >> > windows下面可以考虑 > >> > http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/496901 > >> > 在做完改变以后,可以利用 > >> > print set_color(FOREGROUND_BLUE | FOREGROUND_GREEN | FOREGROUND_RED) > >> > 来回复原来的背景。 > >> > 附件是我这边测试的截图 > >> > > >> > > >> > On 7/25/06, lianchao <lianchao at sega-wow.com> wrote: > >> >> > >> >> > >> >> 我用的是Cygwin. > >> >> print 似乎只能打印白色的。 > >> >> 哪个库提供打印彩色的字的API? > >> >> > >> >> _______________________________________________ > >> >> python-chinese > >> >> Post: send python-chinese at lists.python.cn > >> >> Subscribe: send subscribe to > >> >> python-chinese-request at lists.python.cn > >> >> Unsubscribe: send unsubscribe to > >> >> python-chinese-request at lists.python.cn > >> >> Detail Info: > >> >> http://python.cn/mailman/listinfo/python-chinese > >> >> > >> >> > >> > > >> > >> > >> -------------------------------------------------------------------------------- > >> > >> > >> > _______________________________________________ > >> > python-chinese > >> > Post: send python-chinese at lists.python.cn > >> > Subscribe: send subscribe to python-chinese-request at lists.python.cn > >> > Unsubscribe: send unsubscribe to > >> > python-chinese-request at lists.python.cn > >> > Detail Info: http://python.cn/mailman/listinfo/python-chinese > >> > >> > >> > >> _______________________________________________ > >> python-chinese > >> Post: send python-chinese at lists.python.cn > >> Subscribe: send subscribe to python-chinese-request at lists.python.cn > >> Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn > >> Detail Info: http://python.cn/mailman/listinfo/python-chinese > >> > > > > > -------------------------------------------------------------------------------- > > > > _______________________________________________ > > python-chinese > > Post: send python-chinese at lists.python.cn > > Subscribe: send subscribe to python-chinese-request at lists.python.cn > > Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn > > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > > > _______________________________________________ > python-chinese > Post: send python-chinese at lists.python.cn > Subscribe: send subscribe to python-chinese-request at lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese >
2006年07月26日 星期三 17:58
sendmail现象,即没有文档的技术就是最好的技术,呵呵 On 7/26/06, ainulinde <ainulinde at gmail.com> wrote: > 我前几个月装过一次active perl,装好以后,没有类似于idle/pythonwin这样的编辑器。 > 问了熟悉perl的人,他说本来就是这样的,看来perl的人都比较厉害啊。 > > On 7/26/06, netkiller <openunix at 163.com> wrote: > > > > 那我以后也用.active python > > 是因为下载active perl 时看到的.哈哈. > > > > ----- Original Message ----- > > From: "ainulinde" <ainulinde at gmail.com> > > To: <python-chinese at lists.python.cn> > > Sent: Wednesday, July 26, 2006 4:08 PM > > Subject: Re: [python-chinese] 如何在控制台下打印彩色的字 > > > > > > > active python的ide比官方的哪个idle方便些。有代码自动提示,代码单步调试单步什么的对unicode的字符也能直接显示。 > > > 而且集成了pywin32,一向比较懒,所以都是装active python的。 > > > > > > On 7/26/06, netkiller <openunix at 163.com> wrote: > > >> > > >> 问一下..active python 好用吗?? > > >> ----- Original Message ----- > > >> From: "ainulinde" <ainulinde at gmail.com> > > >> To: <python-chinese at lists.python.cn> > > >> Sent: Wednesday, July 26, 2006 2:26 PM > > >> Subject: Re: [python-chinese] 如何在控制台下打印彩色的字 > > >> > > >> > > >> > windows下面可以考虑 > > >> > http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/496901 > > >> > 在做完改变以后,可以利用 > > >> > print set_color(FOREGROUND_BLUE | FOREGROUND_GREEN | FOREGROUND_RED) > > >> > 来回复原来的背景。 > > >> > 附件是我这边测试的截图 > > >> > > > >> > > > >> > On 7/25/06, lianchao <lianchao at sega-wow.com> wrote: > > >> >> > > >> >> > > >> >> 我用的是Cygwin. > > >> >> print 似乎只能打印白色的。 > > >> >> 哪个库提供打印彩色的字的API? > > >> >> > > >> >> _______________________________________________ > > >> >> python-chinese > > >> >> Post: send python-chinese at lists.python.cn > > >> >> Subscribe: send subscribe to > > >> >> python-chinese-request at lists.python.cn > > >> >> Unsubscribe: send unsubscribe to > > >> >> python-chinese-request at lists.python.cn > > >> >> Detail Info: > > >> >> http://python.cn/mailman/listinfo/python-chinese > > >> >> > > >> >> > > >> > > > >> > > >> > > >> -------------------------------------------------------------------------------- > > >> > > >> > > >> > _______________________________________________ > > >> > python-chinese > > >> > Post: send python-chinese at lists.python.cn > > >> > Subscribe: send subscribe to python-chinese-request at lists.python.cn > > >> > Unsubscribe: send unsubscribe to > > >> > python-chinese-request at lists.python.cn > > >> > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > >> > > >> > > >> > > >> _______________________________________________ > > >> python-chinese > > >> Post: send python-chinese at lists.python.cn > > >> Subscribe: send subscribe to python-chinese-request at lists.python.cn > > >> Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn > > >> Detail Info: http://python.cn/mailman/listinfo/python-chinese > > >> > > > > > > > > > -------------------------------------------------------------------------------- > > > > > > > _______________________________________________ > > > python-chinese > > > Post: send python-chinese at lists.python.cn > > > Subscribe: send subscribe to python-chinese-request at lists.python.cn > > > Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn > > > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > > > > > > > _______________________________________________ > > python-chinese > > Post: send python-chinese at lists.python.cn > > Subscribe: send subscribe to python-chinese-request at lists.python.cn > > Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn > > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > > > _______________________________________________ > python-chinese > Post: send python-chinese at lists.python.cn > Subscribe: send subscribe to python-chinese-request at lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > -- Any complex technology which doesn't come with documentation must be the best available.
2006年07月28日 星期五 13:38
tut 2.5里好像没有介绍相对路径import的新特性,不知是不是这样? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060728/ce582b17/attachment.htm
2006年07月28日 星期五 14:04
tut里感觉只介绍了with和yield的新内容,其它的新特性都没有提到,看来要完整了解Python新特性还是要读What's new. 在06-7-28,wangmm <kernellearn at gmail.com> 写道: > > tut 2.5里好像没有介绍相对路径import的新特性,不知是不是这样? > > _______________________________________________ > python-chinese > Post: send python-chinese at lists.python.cn > Subscribe: send subscribe to python-chinese-request at lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn > Detail Info: 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/20060728/c40338bb/attachment.htm
2006年07月28日 星期五 14:34
在 06-7-28,刘鑫<march.liu at gmail.com> 写道: > tut里感觉只介绍了with和yield的新内容,其它的新特性都没有提到,看来要完整了解Python新特性还是要读What's 要不翻译一下吧,嘿嘿 -- 云电清华同方小民工
2006年07月31日 星期一 15:27
想提供一些tut方面的资料吗 thank you
Zeuux © 2025
京ICP备05028076号