Python论坛  - 讨论区

标题:Re: [python-chinese]请教字典

2005年05月27日 星期五 08:01

=?gb2312?B?hKLA2g==?= liul at dhc.com.cn
Fri May 27 08:01:13 HKT 2005

˵µÄÓеÀÀí£¬¼ÈÈ»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
> 


[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

如下红色区域有误,请重新填写。

    你的回复:

    请 登录 后回复。还没有在Zeuux哲思注册吗?现在 注册 !

    Zeuux © 2025

    京ICP备05028076号