2005年05月27日 星期五 08:01
˵µÄÓеÀÀí£¬¼ÈÈ»javaµÄhashËã·¨ÎÒҲûÓÐÉ¹ý£¬ÏëÀ´Ò²²»Ó¦¸ÃÔÚpythonΪÄÑ×Ô¼º£¬ºÇºÇ£¬¾Í´Ë´òס°É¡£Ð»Ð»¸÷λ¸øÎһظ´µÄÅóÓÑ£¡ ----- Original Message ----- From: "Ò×Õý¸£" <FirePhenix0515 at 126.com> To: <python-chinese at lists.python.cn> Sent: Thursday, May 26, 2005 7:29 PM Subject: Re: [python-chinese]Çë½Ì×Öµä > ¢ÀÚ,ÄúºÃ£¡ > > ÎÒ²»ÖªµÀPythonÊÇÔõô×öµÄ£¡ > ÎÒ¾õµÃ×ÖµäµÄÄÚ²¿½á¹¹Ó¦¸ÃÊǸöHash±í£¬¶øÓÃÀ´HashµÄËã·¨Python×÷ÕßÓ¦¸Ã²»»á¸æËßÎÒÃÇ£¬ËùÒÔÕâ¸ö˳Ðò¾ÍÓ¦¸ÃÖ»ÓÐËûÖªµÀ¡£ > ¶øÎÒ¾õµÃ²»ÓùÜËüÊÇʲô˳ÐòÊä³öµÄ¾ÍÐÐÁË£¡ > > ======= 2005-05-25 11:07:34 ÄúÔÚÀ´ÐÅÖÐдµÀ£º======= > >>¼Çס×ÖµäÖеļü/Öµ¶ÔÊÇûÓÐ˳ÐòµÄ¡£Èç¹ûÄãÏëÒªÒ»¸öÌض¨µÄ˳Ðò£¬ÄÇôÄãÓ¦¸ÃÔÚʹÓÃÇ°×Ô¼º¶ÔËüÃÇÅÅÐò¡£ >>--Õª×Ô¡¶¼òÃ÷ Python ½Ì³Ì¡· >> >>xx = {'a':'A', 'b':'B', 1:11, 2:22} >>print xx >>Êä³ö½á¹ûÈçÏ£º >>{'a': 'A', 1: 11, 2: 22, 'b': 'B'} >> >>ÔÚÊä³öµÄʱºò£¬²»¹ÜÔõÑùpython×ܻᰴÕÕÒ»¶¨µÄ¹æÔò½«×ÖµäÖеļü/Öµ¶ÔÊä³ö£¬Çë½Ì¸Ã¹æÔò£¬Ð»Ð»£¡ >> >>_______________________________________________ >>python-chinese list >>python-chinese at lists.python.cn >>http://python.cn/mailman/listinfo/python-chinese >> > > = = = = = = = = = = = = = = = = = = = = > -------------------------------------------------------------------------------- > _______________________________________________ > python-chinese list > python-chinese at lists.python.cn > http://python.cn/mailman/listinfo/python-chinese >
Zeuux © 2025
京ICP备05028076号