2004年03月03日 星期三 16:18
CHEN Guang (Oliver),您好! 我想python在很地方都作了优化,因此在其他语言看来是不是很恰当的写法,在python中是往往可行的 ======= 2004-03-03 16:10:07 您在来信中写道:======= > >用f=open('c:\mydata.dat','rb')打开一个二进制文件后,有没有简单的函数直接给出此文件的字节数?如果mydata.dat有几十兆大小,read()显然太占内存了。 > >_________________________________________________________ >Do You Yahoo!? >完全免费的雅虎电邮,马上注册获赠额外60兆网络存储空间 >http://cn.rd.yahoo.com/mail_cn/tag/?http://cn.mail.yahoo.com >_______________________________________________ >python-chinese mailing list >python-chinese at lists.python.cn >http://python.cn/mailman/listinfo/python-chinese = = = = = = = = = = = = = = = = = = = = 致 礼! zhao bear_sh at eastday.com 2004-03-03 -------------- next part -------------- A non-text attachment was scrubbed... Name: fox.GIF Type: image/gif Size: 9519 bytes Desc: not available Url : http://lists.exoweb.net/pipermail/python-chinese/attachments/20040303/9622d646/fox.gif
Zeuux © 2025
京ICP备05028076号