2004年03月15日 星期一 00:40
In terms of file input, can we read from the end of the file till the beginning of a file? __________________________________ Do you Yahoo!? Yahoo! Mail - More reliable, more storage, less spam http://mail.yahoo.com
2004年03月15日 星期一 09:00
>From: Anthony Liu <antonyliu2002 at yahoo.com> >Reply-To: python-chinese at lists.python.cn >To: python-chinese at lists.python.cn >Subject: RE: [python-chinese] How to check if the 8th bit of a byte is set? >Date: Sat, 13 Mar 2004 01:15:37 -0800 (PST) > > > a='a' > > ord(a) & 0x80 > >ord(a) & 10000000_binary = 0 if 'a' is an ascii >character. > >else if 'a' is the 1st byte of a Chinese character, > >ord(a) & 10000000_binary = 128 > >Right? right _________________________________________________________________ 享用世界上最大的电子邮件系统― MSN Hotmail。 http://www.hotmail.com
2004年03月15日 星期一 09:07
>From: "Who Bruce" <whoonline at msn.com> >Reply-To: python-chinese at lists.python.cn >To: python-chinese at lists.python.cn >Subject: RE: [python-chinese] How to check if the 8th bit of a byte is set? >Date: Mon, 15 Mar 2004 09:00:00 +0800 > >>From: Anthony Liu <antonyliu2002 at yahoo.com> >>Reply-To: python-chinese at lists.python.cn >>To: python-chinese at lists.python.cn >>Subject: RE: [python-chinese] How to check if the 8th bit of a byte >>is >set? >>Date: Sat, 13 Mar 2004 01:15:37 -0800 (PST) >> >> > a='a' >> > ord(a) & 0x80 >> >>ord(a) & 10000000_binary = 0 if 'a' is an ascii >>character. >> >>else if 'a' is the 1st byte of a Chinese character, >> >>ord(a) & 10000000_binary = 128 >> >>Right? > >right en...,but I think you should expalin it like this: 0x80 is 10000000(binary),so given a is a byte,eg. a char,if a's 8th bit is 1(assumption is big-endian),then ord(a)&0x80 ==1,otherwise,ord(a)&0x80==0. _________________________________________________________________ 与联机的朋友进行交流,请使用 MSN Messenger: http://messenger.msn.com/cn
2004年03月15日 星期一 10:01
-----Original Message----- From: =CD=F4=D6=BE=82=A5\(cn\) [mailto:paul_wang at lmcn.com]=20 Sent: 2004=C4=EA3=D4=C214=C8=D5 10:00 To: python-chinese at lists.python.cn Subject: linux=CF=C2=CA=B9=D3=C3python =D5=88=86=96=D4=DAEMACS(FC1 = LINUX)=D6=D0=B5=C4PYTHON=C4=A3=CA=BD=D4=F5=C3=B4=D4O=D6=C3=D5Z=B7=A8=D7=D4= =84=D3=BFs=DFM=B9=A6=C4=DC=A3=AC=D5Z=B7=A8=B8=DF=C1=C1=EF@=CA=BE=A3=BF
2004年03月15日 星期一 10:06
刘鑫,您好! FireBird?数据库还是浏览器? ======= 2004-03-12 10:56:24 您在来信中写道:======= >CHEN Guang \(Oliver\): > 您好! > > FireBird呀,绝对极品。 > >======= 2004-03-12 10:39:54 您在来信中写道:======= > >>我想学习 Win98 下 Python >>数据库开发,哪位能推荐一款免费的、容易上手的,最好能支持中文、脱离DOS >>操作,并能管理图片和声音等文件。 >>哪位大侠能给个例子程序看看吗?越简单越好。 >> >> >> >> >> --- Who Bruce <whoonline at msn.com> 的正文:> >>pysqlite在sourceforge上 >>> >>> >>> >From: "CHEN Guang (Oliver)" >>> <oliver_guang_chen at yahoo.com.cn> >>> >To: Who Bruce <whoonline at msn.com> >>> >Subject: RE: [python-chinese] 学习 Win98 下 Python >>> 数据库开发 >>> >Date: Tue, 9 Mar 2004 09:19:22 +0800 (CST) >>> > >>> >能推荐一款免费的吗,最好给个网址。 >>> > >>> > --- Who Bruce <whoonline at msn.com> 的正文:> >>> >Python和很多数据库都有接口,如Adoapi,pysqlite... >>> > > >>> > > >>> > > >From: "CHEN Guang (Oliver)" >>> > > <oliver_guang_chen at yahoo.com.cn> >>> > > >To: python-chinese at lists.python.cn >>> > > >Subject: [python-chinese] 学习 Win98 下 Python >>> > > 数据库开发 >>> > > >Date: Tue, 9 Mar 2004 09:06:12 +0800 (CST) >>> > > > >>> > > >我想学习 Win98 下 Python >>> > > >>> >数据库开发,哪位能推荐一款容易上手的,最好能脱离 >>> > > DOS 操作,并能管理图片和声 >>> > > 音等文件。 >>> > > > >>> > > >_______________________________________________ >>> > > >python-chinese mailing list >>> > > >python-chinese at lists.python.cn >>> > > >>> >http://python.cn/mailman/listinfo/python-chinese >>> > > >> >> >>_________________________________________________________ >>Do You Yahoo!? >>完全免费的雅虎电邮,马上注册获赠额外60兆网络存储空间 >>http://cn.rd.yahoo.com/mail_cn/tag/?http://cn.mail.yahoo.com >>_______________________________________________ >>python-chinese list >>python-chinese at lists.python.cn >>http://python.cn/mailman/listinfo/python-chinese >> >>. > >= = = = = = = = = = = = = = = = = = = = > > > 致 >礼! > > > 刘鑫 > liux at gdcn.com > 2004-03-12 > >_______________________________________________ >python-chinese list >python-chinese at lists.python.cn >http://python.cn/mailman/listinfo/python-chinese = = = = = = = = = = = = = = = = = = = = 致 礼! fxg ifxg at tom.com 2004-03-15
Zeuux © 2024
京ICP备05028076号