2006年11月07日 星期二 17:08
Çë½Ì£ºÎÒ²åÈëÁË50¼¸Íòitemʱ£¬python¾Í²»¹¤×÷ÁË£¿ Brightman 2006-11-07 -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20061107/b5a6225e/attachment.html
2006年11月07日 星期二 17:23
ÓбØÒª50ÍòÕâô¶àÂ𣿶àÉÙ»úÆ÷µÄÄÚ´æÕâô´ó£¿Èç¹ûÓÐÐèÒªÓó¬´ó×ֵ䣬ÓÃBsdDbShelf°É£¬Õâ¸öÊÇPythonÄÚÖõÄBDB×ֵ䡣 ÔÚ06-11-7£¬Brightman <fenyon在126.com> дµÀ£º > > Çë½Ì£ºÎÒ²åÈëÁË50¼¸Íòitemʱ£¬python¾Í²»¹¤×÷ÁË£¿ > > ------------------------------ > Brightman > 2006-11-07 > > _______________________________________________ > 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 > -- »¶Ó·ÃÎÊ£º http://blog.csdn.net/ccat ÁõöÎ March.Liu -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20061107/94090c12/attachment.html
2006年11月08日 星期三 11:05
BsdDbShelfÊÇpython2.2ÄÚÖõÄô£¿ import BsdDbShelf ˵ûÓиÃÄ£¿é help(BsdDbShelf)Ò²²»ÐÐ Brightman 2006-11-08 ·¢¼þÈË£º ÁõöÎ ·¢ËÍʱ¼ä£º 2006-11-07 17:23:29 ÊÕ¼þÈË£º python-chinese在lists.python.cn ³ËÍ£º Ö÷Ì⣺ Re: [python-chinese]pythonµÄdictÄܲåÈë¶àÉÙitem? ÓбØÒª50ÍòÕâô¶àÂ𣿶àÉÙ»úÆ÷µÄÄÚ´æÕâô´ó£¿Èç¹ûÓÐÐèÒªÓó¬´ó×ֵ䣬ÓÃBsdDbShelf°É£¬Õâ¸öÊÇPythonÄÚÖõÄBDB×ֵ䡣 ÔÚ06-11-7£¬Brightman < fenyon在126.com> дµÀ£º Çë½Ì£ºÎÒ²åÈëÁË50¼¸Íòitemʱ£¬python¾Í²»¹¤×÷ÁË£¿ Brightman 2006-11-07 _______________________________________________ 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 -- »¶Ó·ÃÎÊ£º http://blog.csdn.net/ccat ÁõöÎ March.Liu -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20061108/63d1c137/attachment-0001.htm
2006年11月08日 星期三 11:09
我用 pyExcelerator 建立 Excel 工作表導數據。 wb = Workbook() ws = wb.add_sheet('123') 但是現在建立出的工作表 123 ,用別的程式讀取的時候,縂是說找不到工作表,用手工修改工作表名字為 123 后就可以讀到了,請問,用 ws = wb.add_sheet('123') 建立的工作表名字后是不是有隱藏的特殊字符存在?比如 '\n',如果有,怎麽去掉? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://python.cn/pipermail/python-chinese/attachments/20061108/1b80f7ab/attachment.html
2006年11月08日 星期三 11:09
2.2¿ÉÄÜûÓУ¬ÎÒÏÖÔÚÓõÄ2.5£¬ÖÁÉÙ2.4°æ¾ÍÓÐÕâ¸ö¶«Î÷ÁË¡£Äã¿ÉÒÔ¿´¿´helpÀïÓÐûÓÐÕâ¸öË÷Òý¡£ ÔÚ06-11-8£¬Brightman <fenyon在126.com> дµÀ£º > > BsdDbShelfÊÇpython2.2ÄÚÖõÄô£¿ > import BsdDbShelf ˵ûÓиÃÄ£¿é > help(BsdDbShelf)Ò²²»ÐÐ > > ------------------------------ > Brightman > 2006-11-08 > ------------------------------ > *·¢¼þÈË£º* ÁõöÎ > *·¢ËÍʱ¼ä£º* 2006-11-07 17:23:29 > *ÊÕ¼þÈË£º* python-chinese在lists.python.cn > *³ËÍ£º* > *Ö÷Ì⣺* Re: [python-chinese]pythonµÄdictÄܲåÈë¶àÉÙitem? > > ÓбØÒª50ÍòÕâô¶àÂ𣿶àÉÙ»úÆ÷µÄÄÚ´æÕâô´ó£¿Èç¹ûÓÐÐèÒªÓó¬´ó×ֵ䣬ÓÃBsdDbShelf°É£¬Õâ¸öÊÇPythonÄÚÖõÄBDB×ֵ䡣 > > ÔÚ06-11-7£¬Brightman < fenyon在126.com> дµÀ£º > > > > Çë½Ì£ºÎÒ²åÈëÁË50¼¸Íòitemʱ£¬python¾Í²»¹¤×÷ÁË£¿ > > > > ------------------------------ > > Brightman > > 2006-11-07 > > > > _______________________________________________ > > 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 > > > > > > -- > »¶Ó·ÃÎÊ£º > http://blog.csdn.net/ccat > > ÁõöÎ > March.Liu > > _______________________________________________ > 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 > -- »¶Ó·ÃÎÊ£º http://blog.csdn.net/ccat ÁõöÎ March.Liu -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20061108/bb66a7f0/attachment.htm
2006年11月08日 星期三 11:29
50Íòitem£¬¹âÌí¼Ó¾ÍÒª²»ÉÙʱ¼äÁË°É£¿Èç¹ûÖмä³ÌÐòÓöµ½ÎÊÌ⣬ÔÙÖØÐÂÌí¼ÓµÈ¡£¡£¡£ ¸Ð¾õÓ¦¸ÃÊÇÈí¼þÉè¼ÆµÄÎÊÌ⣬¿ÉÒÔʹÓÃÊý¾Ý¿â»òÕß±ðµÄ·½°¸À´ÊµÏÖ¡£»¹ÓУ¬ºÃÏñPythonµÄ×Öµä¶ÔÄÚ´æÕ¼Óúܸߣ¬ÎÒµÄÈí¼þ£¨ÔÚC++ÖÐǶÈëPython£©ÖÐÔÏÈʹÓÃPythonµÄÊý¾Ý½á¹¹£¨ÏÈdictÔÙlist£©£¬ºóÀ´ÒòΪÄÚ´æÕ¼ÓÃÌ«¸ßÁË£¬»»³ÉÁËC++µÄ ÔÚ06-11-7£¬Brightman <fenyon在126.com> дµÀ£º > > Çë½Ì£ºÎÒ²åÈëÁË50¼¸Íòitemʱ£¬python¾Í²»¹¤×÷ÁË£¿ > > ------------------------------ > Brightman > 2006-11-07 > > _______________________________________________ > 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 > -- My Blog >> http://leejd.cndev.org My QQ >> 9847243 -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20061108/43086c63/attachment.htm
2006年11月08日 星期三 11:37
On 11/8/06, Zuggie <magicccc在gmail.com> wrote: > > > ÎÒÓà pyExcelerator ½¨Á¢ Excel ¹¤×÷±í§µþ¡£ > wb = Workbook() > ws = wb.add_sheet('123') > µ«ÊǬFÔÚ½¨Á¢³öµÄ¹¤×÷±í 123 £¬ÓÃeµÄ³Ìʽ×xÈ¡µÄrºò£¬¿GÊÇÕfÕÒ²»µ½¹¤×÷±í£¬ÓÃÊÖ¹¤Ð޸Ť×÷±íÃû×Öé 123 > ºó¾Í¿ÉÒÔ×xµ½ÁË£¬Õ£¬Óà ws = wb.add_sheet('123') ½¨Á¢µÄ¹¤×÷±íÃû×ÖºóÊDz»ÊÇÓÐë[²ØµÄÌØÊâ×Ö·û´æÔÚ£¿±ÈÈç > '\n'£¬Èç¹ûÓУ¬Ôõ÷áÈ¥µô£¿ ½¨ÒéÄãÔÙ×ÐϸÊÔÒ»ÊÔËüµÄÀý×Ó£¬ÕâÊÇ×î»ù±¾µÄÁË¡£ -- I like python! UliPad <>: http://wiki.woodpecker.org.cn/moin/UliPad My Blog: http://www.donews.net/limodou
2006年11月08日 星期三 11:40
你是不是没有关闭文件?或者添一些数据进去再看看行不行? On 11/8/06, Zuggie <magicccc在gmail.com> wrote: > > 我用 pyExcelerator 建立 Excel 工作表導數據。 > wb = Workbook() > ws = wb.add_sheet('123') > 但是現在建立出的工作表 123 ,用別的程式讀取的時候,縂是說找不到工作表,用手工修改工作表名字為 123 后就可以讀到了,請問,用 ws = > wb.add_sheet('123') 建立的工作表名字后是不是有隱藏的特殊字符存在?比如 '\n',如果有,怎麽去掉? > > _______________________________________________ > 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 ※※※※※※※※※ ※※我思故我在※※ ※※※※※※※※※ -------------- 下一部分 -------------- 一个HTML附件被移除... URL: http://python.cn/pipermail/python-chinese/attachments/20061108/33b15bd5/attachment.html
2006年11月08日 星期三 11:43
python dictoryÕæµÃÖ»ÄÜÈÝÄÉ510600items?ÕæÊÇûÏëµ½¡£ BsdDbShelfÓÐûÓмòµ¥µÄÀý×Ó£¿ лл:) Brightman 2006-11-08 ·¢¼þÈË£º ÁõöÎ ·¢ËÍʱ¼ä£º 2006-11-08 11:10:27 ÊÕ¼þÈË£º python-chinese在lists.python.cn ³ËÍ£º Ö÷Ì⣺ Re: [python-chinese]pythonµÄdictÄܲåÈë¶àÉÙitem? 2.2¿ÉÄÜûÓУ¬ÎÒÏÖÔÚÓõÄ2.5£¬ÖÁÉÙ2.4°æ¾ÍÓÐÕâ¸ö¶«Î÷ÁË¡£Äã¿ÉÒÔ¿´¿´helpÀïÓÐûÓÐÕâ¸öË÷Òý¡£ ÔÚ06-11-8£¬Brightman <fenyon在126.com> дµÀ£º BsdDbShelfÊÇpython2.2ÄÚÖõÄô£¿ import BsdDbShelf ˵ûÓиÃÄ£¿é help(BsdDbShelf)Ò²²»ÐÐ Brightman 2006-11-08 ·¢¼þÈË£º ÁõöÎ ·¢ËÍʱ¼ä£º 2006-11-07 17:23:29 ÊÕ¼þÈË£º python-chinese在lists.python.cn ³ËÍ£º Ö÷Ì⣺ Re: [python-chinese]pythonµÄdictÄܲåÈë¶àÉÙitem? ÓбØÒª50ÍòÕâô¶àÂ𣿶àÉÙ»úÆ÷µÄÄÚ´æÕâô´ó£¿Èç¹ûÓÐÐèÒªÓó¬´ó×ֵ䣬ÓÃBsdDbShelf°É£¬Õâ¸öÊÇPythonÄÚÖõÄBDB×ֵ䡣 ÔÚ06-11-7£¬Brightman < fenyon在126.com> дµÀ£º Çë½Ì£ºÎÒ²åÈëÁË50¼¸Íòitemʱ£¬python¾Í²»¹¤×÷ÁË£¿ Brightman 2006-11-07 _______________________________________________ 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 -- »¶Ó·ÃÎÊ£º http://blog.csdn.net/ccat ÁõöÎ March.Liu _______________________________________________ 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 -- »¶Ó·ÃÎÊ£º http://blog.csdn.net/ccat ÁõöÎ March.Liu -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20061108/4709daed/attachment.htm
2006年11月08日 星期三 11:44
PythonµÄÎĵµÀïÓУ¬½éÉܵIJ»ÊǺܶ࣬ÒòΪËü³ýÁ˹¹Ô죬ºÍÆÕͨµÄ×ÖµäûÓÐʲôÇø±ð¡£Ö»ÊDz»ÖªµÀPython2.2ÀïÓÐûÓÐÕâ¸ö¶«Î÷ ¡£ÎÒÒ²¾ÍÊÇ´Ó½ñÄê²Å¿ªÊ¼¹Ø×¢Ëü¡£Õâ¸öÀàÐÍÔÚshelveÄ£¿éÖС£ ÔÚ06-11-8£¬Brightman <fenyon在126.com> дµÀ£º > > python dictoryÕæµÃÖ»ÄÜÈÝÄÉ510600items?ÕæÊÇûÏëµ½¡£ > > BsdDbShelfÓÐûÓмòµ¥µÄÀý×Ó£¿ > лл:) > ------------------------------ > Brightman > 2006-11-08 > ------------------------------ > *·¢¼þÈË£º* ÁõöÎ > *·¢ËÍʱ¼ä£º* 2006-11-08 11:10:27 > *ÊÕ¼þÈË£º* python-chinese在lists.python.cn > *³ËÍ£º* > *Ö÷Ì⣺* Re: [python-chinese]pythonµÄdictÄܲåÈë¶àÉÙitem? > > 2.2¿ÉÄÜûÓУ¬ÎÒÏÖÔÚÓõÄ2.5£¬ÖÁÉÙ2.4°æ¾ÍÓÐÕâ¸ö¶«Î÷ÁË¡£Äã¿ÉÒÔ¿´¿´helpÀïÓÐûÓÐÕâ¸öË÷Òý¡£ > > ÔÚ06-11-8£¬Brightman <fenyon在126.com> дµÀ£º > > > > BsdDbShelfÊÇpython2.2ÄÚÖõÄô£¿ > > import BsdDbShelf ˵ûÓиÃÄ£¿é > > help(BsdDbShelf)Ò²²»ÐÐ > > > > ------------------------------ > > Brightman > > 2006-11-08 > > ------------------------------ > > *·¢¼þÈË£º* ÁõöÎ > > *·¢ËÍʱ¼ä£º* 2006-11-07 17:23:29 > > *ÊÕ¼þÈË£º* python-chinese在lists.python.cn > > *³ËÍ£º* > > *Ö÷Ì⣺* Re: [python-chinese]pythonµÄdictÄܲåÈë¶àÉÙitem? > > > > ÓбØÒª50ÍòÕâô¶àÂ𣿶àÉÙ»úÆ÷µÄÄÚ´æÕâô´ó£¿Èç¹ûÓÐÐèÒªÓó¬´ó×ֵ䣬ÓÃBsdDbShelf°É£¬Õâ¸öÊÇPythonÄÚÖõÄBDB×ֵ䡣 > > > > ÔÚ06-11-7£¬Brightman < fenyon在126.com> дµÀ£º > > > > > > Çë½Ì£ºÎÒ²åÈëÁË50¼¸Íòitemʱ£¬python¾Í²»¹¤×÷ÁË£¿ > > > > > > ------------------------------ > > > Brightman > > > 2006-11-07 > > > > > > _______________________________________________ > > > 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 > > > > > > > > > > > -- > > »¶Ó·ÃÎÊ£º > > http://blog.csdn.net/ccat > > > > ÁõöÎ > > March.Liu > > > > _______________________________________________ > > 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 > > > > > > -- > »¶Ó·ÃÎÊ£º > http://blog.csdn.net/ccat > > ÁõöÎ > March.Liu > > _______________________________________________ > 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 > -- »¶Ó·ÃÎÊ£º http://blog.csdn.net/ccat ÁõöÎ March.Liu -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20061108/d7767096/attachment.htm
2006年11月08日 星期三 11:51
可以確定文件處於關閉狀態,建立出來的工作表為 123,讀取失敗,但是用手工重新改名,名字也是 123,就可以讀取,所以懷疑有隱藏特殊字符存在,只是看不到是什麽 ----- 原始邮件 ----- 发件人: Linker Lin 收件人: python-chinese at lists.python.cn 日期: 2006年11月8日 上午 11:40 主题: Re: [python-chinese] pyExcelerator的使用 你是不是没有关闭文件?或者添一些数据进去再看看行不行? On 11/8/06, Zuggie <magicccc at gmail.com> wrote: 我用 pyExcelerator 建立 Excel 工作表導數據。 wb = Workbook() ws = wb.add_sheet('123') 但是現在建立出的工作表 123 ,用別的程式讀取的時候,縂是說找不到工作表,用手工修改工作表名字為 123 后就可以讀到了,請問,用 ws = wb.add_sheet('123') 建立的工作表名字后是不是有隱藏的特殊字符存在?比如 '\n',如果有,怎麽去掉? _______________________________________________ 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 -- Linker M Lin linkerlin88 at gmail.com ※※※※※※※※※ ※※我思故我在※※ ※※※※※※※※※ ------------------------------------------------------------------------------ _______________________________________________ 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://python.cn/pipermail/python-chinese/attachments/20061108/39917040/attachment-0001.html
2006年11月08日 星期三 12:15
ÎÒ½ö½öÊÇÒ»¸öͳ¼Æ¹¤¾ß£¬ÔÊÐí10¼¸Ãë¾Í½áÊøÁË¡£ÎÒÓÐ2¸ö50¶àÍòµÄkey -valueÎļþ£¨2¸öÎļþÓÐ80%µÄkeyÊÇÏàͬµÄ£©£¬ÎÒÏë°Ñ2¸öÎļþºÏ²¢³Ékey-value1-value2£¬ËùÒÔ¾ÍÕâÑù×öÁË¡£·ñÔò2¸öÎļþ50w X 50WµÄ²éÕÒ£¬Ò²Í¦ºÄʱµÄ Brightman 2006-11-08 ·¢¼þÈË£º Gerald Lee ·¢ËÍʱ¼ä£º 2006-11-08 11:30:24 ÊÕ¼þÈË£º python-chinese在lists.python.cn ³ËÍ£º Ö÷Ì⣺ Re: [python-chinese]pythonµÄdictÄܲåÈë¶àÉÙitem? 50Íòitem£¬¹âÌí¼Ó¾ÍÒª²»ÉÙʱ¼äÁË°É£¿Èç¹ûÖмä³ÌÐòÓöµ½ÎÊÌ⣬ÔÙÖØÐÂÌí¼ÓµÈ¡£¡£¡£ ¸Ð¾õÓ¦¸ÃÊÇÈí¼þÉè¼ÆµÄÎÊÌ⣬¿ÉÒÔʹÓÃÊý¾Ý¿â»òÕß±ðµÄ·½°¸À´ÊµÏÖ¡£»¹ÓУ¬ºÃÏñPythonµÄ×Öµä¶ÔÄÚ´æÕ¼Óúܸߣ¬ÎÒµÄÈí¼þ£¨ÔÚC++ÖÐǶÈëPython£©ÖÐÔÏÈʹÓÃPythonµÄÊý¾Ý½á¹¹£¨ÏÈdictÔÙlist£©£¬ºóÀ´ÒòΪÄÚ´æÕ¼ÓÃÌ«¸ßÁË£¬»»³ÉÁËC++µÄ ÔÚ06-11-7£¬ Brightman <fenyon在126.com> дµÀ£º Çë½Ì£ºÎÒ²åÈëÁË50¼¸Íòitemʱ£¬python¾Í²»¹¤×÷ÁË£¿ Brightman 2006-11-07 _______________________________________________ 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 -- My Blog >> http://leejd.cndev.org My QQ >> 9847243 -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20061108/3d1f70a2/attachment.htm
2006年11月08日 星期三 15:02
Ҫ˵ÕâÖÖÐèÇó£¬ÓÃBsdDbShelf»òsqlite3 ÊÇ×îÊʺϵģ¬²»¹ýÔÚ2.2°æµÄʱºò£¬ÕâÁ½¸öÄ£¿é»¹¶¼²»ÊÇÄÚÖÿ⡣²»·ÁÉý¼¶ÏÂPython£¿ ÔÚ06-11-8£¬Brightman <fenyon在126.com> дµÀ£º > > ÎÒ½ö½öÊÇÒ»¸öͳ¼Æ¹¤¾ß£¬ÔÊÐí10¼¸Ãë¾Í½áÊøÁË¡£ÎÒÓÐ2¸ö50¶àÍòµÄkey > -valueÎļþ£¨2¸öÎļþÓÐ80%µÄkeyÊÇÏàͬµÄ£©£¬ÎÒÏë°Ñ2¸öÎļþºÏ²¢³Ékey-value1-value2£¬ËùÒÔ¾ÍÕâÑù×öÁË¡£·ñÔò2¸öÎļþ50w X > 50WµÄ²éÕÒ£¬Ò²Í¦ºÄʱµÄ > > ------------------------------ > Brightman > 2006-11-08 > ------------------------------ > *·¢¼þÈË£º* Gerald Lee > *·¢ËÍʱ¼ä£º* 2006-11-08 11:30:24 > *ÊÕ¼þÈË£º* python-chinese在lists.python.cn > *³ËÍ£º* > *Ö÷Ì⣺* Re: [python-chinese]pythonµÄdictÄܲåÈë¶àÉÙitem? > > 50Íòitem£¬¹âÌí¼Ó¾ÍÒª²»ÉÙʱ¼äÁË°É£¿Èç¹ûÖмä³ÌÐòÓöµ½ÎÊÌ⣬ÔÙÖØÐÂÌí¼ÓµÈ¡£¡£¡£ > > ¸Ð¾õÓ¦¸ÃÊÇÈí¼þÉè¼ÆµÄÎÊÌ⣬¿ÉÒÔʹÓÃÊý¾Ý¿â»òÕß±ðµÄ·½°¸À´ÊµÏÖ¡£»¹ÓУ¬ºÃÏñPythonµÄ×Öµä¶ÔÄÚ´æÕ¼Óúܸߣ¬ÎÒµÄÈí¼þ£¨ÔÚC++ÖÐǶÈëPython£©ÖÐÔÏÈʹÓÃPythonµÄÊý¾Ý½á¹¹£¨ÏÈdictÔÙlist£©£¬ºóÀ´ÒòΪÄÚ´æÕ¼ÓÃÌ«¸ßÁË£¬»»³ÉÁËC++µÄ > > > ÔÚ06-11-7£¬ Brightman <fenyon在126.com> дµÀ£º > > > > Çë½Ì£ºÎÒ²åÈëÁË50¼¸Íòitemʱ£¬python¾Í²»¹¤×÷ÁË£¿ > > > > ------------------------------ > > Brightman > > 2006-11-07 > > > > _______________________________________________ > > 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 > > > > > > -- > My Blog >> http://leejd.cndev.org > My QQ >> 9847243 > > _______________________________________________ > 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 > -- »¶Ó·ÃÎÊ£º http://blog.csdn.net/ccat ÁõöÎ March.Liu -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20061108/215fdb8e/attachment.html
2006年11月08日 星期三 15:41
不知50w排序需要多长时间,再归并。或者多分几份。不知能怎么样 :) On 11/8/06, Brightman <fenyon在126.com> wrote: > > 我仅仅是一个统计工具,允许10几秒就结束了。我有2个50多万的key > -value文件(2个文件有80%的key是相同的),我想把2个文件合并成key-value1-value2,所以就这样做了。否则2个文件50w > X 50W的查找,也挺耗时的
Zeuux © 2025
京ICP备05028076号