Python论坛  - 讨论区

标题:[python-chinese] 请教一题的算法

2005年02月28日 星期一 20:16

 acar523 at 163.com
Mon Feb 28 20:16:48 HKT 2005

ÓÐÒ»Ìì¼ûµ½Ò»µÀÌâÄ¿£¬ÓÃpythonʵÏÖ¿ìËã24ÆË¿ËÓÎÏ·¡£ÇóËã·¨
лл

> ÏëÔÚ python-chinese ÁÐ±í·¢ÑÔ , Çë email ¸ø
> 
> 	python-chinese at lists.python.cn
> 
> ¾­ÓÉ WWW ¶©ÔÄ»òÈ¡Ïû¶©ÔÄ , Çëµ½
> 
> 	http://python.cn/mailman/listinfo/python-chinese
> 
> »òͨ¹ý email , ËͳöÒ»·â±êÌâ»òÄÚÎÄΪ 'help' µ½
> 
> 	python-chinese-request at lists.python.cn
> 
> ÏëÓëÁбí¹ÜÀíԱȡµÃÁªÏµÊ± , Çë email ¸ø
> 
> 	python-chinese-owner at lists.python.cn
> 
> µ±»ØÐÅʱ , Çë¸øÒ»¸öÊʵ±µÄ±êÌâ , ÕâÑù»á±È
>  "Re: Contents of python-chinese digest..."¸üÇå³þÃ÷°×.
> 
> 
> Today's Topics:
> 
>    1. ?????????? (??)
>    2. ??python2.4???? (Kaven Wong)
>    3. Re: ??python2.4???? (limodou)
>    4. Re: ?? python2.4 ???? (orciloud tang)
>    5. Re: ??python2.4???? (epaulin)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Sun, 27 Feb 2005 14:25:06 +0800 (CST)
> From: ?? <paradisesdk-python at yahoo.com.cn>
> Subject: [python-chinese] ??????????
> To: PythonCN <python-chinese at lists.python.cn>
> Message-ID: <20050227062506.18893.qmail at web15602.mail.cnb.yahoo.com>
> Content-Type: text/plain; charset=gb2312
> 
> http://blog.csdn.net/changzheng/archive/2005/02/27/303594.aspx
> 
> =====
> ¡°ÔĶÁÇå·çµÄÓʼþ£¬ÊÇÎÒÒ»Éú×î¿ìÀÖµÄʱ¹â¡±£­£­£­Å£¶Ù
> 
> _________________________________________________________
> Do You Yahoo!?
> 150ÍòÇúMP3·è¿ñËÑ£¬´øÄú´³ÈëÒôÀÖµîÌÃ
> http://music.yisou.com/
> ÃÀÅ®Ã÷ÐÇÓ¦Óо¡ÓУ¬ËѱéÃÀͼ¡¢ÑÞͼºÍ¿áͼ
> http://image.yisou.com
> 1G¾ÍÊÇ1000Õ×£¬ÑÅ»¢µçÓÊ×ÔÖúÀ©ÈÝ£¡
> http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1g/
> 
> 
> ------------------------------
> 
> Message: 2
> Date: Mon, 28 Feb 2005 11:25:58 +0800
> From: Kaven Wong <kaven.wong at gmail.com>
> Subject: [python-chinese] ??python2.4????
> To: python-chinese at lists.python.cn
> Message-ID: <97091547050227192513d676d6 at mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
> 
> 我的系统是Redhat9,系统自己装了python2.2,昨天我新装了python2.4,这样系统中有两个版本同时存在,缺省的启动pythonæ˜?.2
> 版本,我只有输入python2.4才会启动2.4的版本,能不能去æŽ?.2的版本,去掉后怎么è®?.4成为缺省的呢ï¼?
> 
> 同时,我昨天还安装了BitTorrent3.9.1,启动时它要求pythonè¦?.3版本以后的,可是系统缺省的认为是2.2版本,导致bt不能使用ã€?
> 
> 有谁解决过类似的问题吗?谢谢ï¼?
> 
> ------------------------------
> 
> Message: 3
> Date: Mon, 28 Feb 2005 11:34:53 +0800
> From: limodou <limodou at gmail.com>
> Subject: Re: [python-chinese] ??python2.4????
> To: Kaven Wong <kaven.wong at gmail.com>, python-chinese at lists.python.cn
> Message-ID: <505f13c050227193425f19be8 at mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
> 
> 具体怎么弄我也不清楚,好象内核要重建一个什么东西。因为是因为在csdn上好象问过这个问题(记不清了),他是找了一位内核高手给解决的,至于怎么解决他没有说。因此我也不会,不过可以请教内核高手可能知道怎么回事ã€?
> 
> 
> On Mon, 28 Feb 2005 11:25:58 +0800, Kaven Wong <kaven.wong at gmail.com> wrote:
> > 我的系统是Redhat9,系统自己装了python2.2,昨天我新装了python2.4,这样系统中有两个版本同时存在,缺省的启动pythonæ˜?.2
> > 版本,我只有输入python2.4才会启动2.4的版本,能不能去æŽ?.2的版本,去掉后怎么è®?.4成为缺省的呢ï¼?
> > 
> > 同时,我昨天还安装了BitTorrent3.9.1,启动时它要求pythonè¦?.3版本以后的,可是系统缺省的认为是2.2版本,导致bt不能使用ã€?
> > 
> > 有谁解决过类似的问题吗?谢谢ï¼?
> > 
> > _______________________________________________
> > python-chinese list
> > python-chinese at lists.python.cn
> > http://python.cn/mailman/listinfo/python-chinese
> > 
> > 
> > 
> 
> 
> -- 
> I like python! 
> My Blog: http://www.donews.net/limodou
> New Maillist: http://groups-beta.google.com/group/python-cn
> 
> ------------------------------
> 
> Message: 4
> Date: Mon, 28 Feb 2005 11:38:13 +0800
> From: orciloud tang <orciloud at gmail.com>
> Subject: Re: [python-chinese] ?? python2.4 ????
> To: "Kaven Wong , python-chinese at lists.python.cn"
> 	<kaven.wong at gmail.com>,	python-chinese
> 	<python-chinese at lists.python.cn>
> Message-ID: orciloud at gmail.com>
> Content-Type: text/plain;	charset="GB2312"
> 
> 
> »ù´¡ÖªÊ¶
> Which python È»ºórm µÃµ½µÄpath..
> ÔÙ ln -s /python/2.4 /usr/local/bin/python
> Exit;
> 
> 
> 
> On 2/28/05 11:25 AM, "Kaven Wong" <kaven.wong at gmail.com> wrote:
> 
> > ÎÒµÄϵͳÊÇRedhat9£¬ÏµÍ³×Ô¼º×°ÁËpython2.2£¬×òÌìÎÒÐÂ×°ÁËpython2.4£¬ÕâÑùϵͳÖÐÓÐÁ½¸ö°æ±¾Í¬Ê±´æ
> > ÔÚ£¬È±Ê¡µÄÆô¶¯pythonÊÇ2.2
> °æ±¾£¬ÎÒÖ»ÓÐÊäÈëpython2.4²Å»áÆô¶¯2.4µÄ°æ±¾£¬Äܲ»ÄÜÈ¥µô2.2µÄ°æ±¾£¬
> > È¥µôºóÔõôÈÃ2.4³ÉΪȱʡµÄÄØ£¿
> 
> ͬʱ£¬ÎÒ×òÌ컹°²×°ÁËBitTorrent3.9.1£¬Æô¶¯Ê±ËüÒªÇópython
> > Òª2.3°æ±¾ÒÔºóµÄ£¬¿ÉÊÇϵͳȱʡµÄÈÏΪÊÇ2.2°æ±¾£¬µ¼ÖÂbt²»ÄÜʹÓá£
> 
> ÓÐË­½â¾ö¹ýÀàËƵÄÎÊÌâÂð£¿Ð»
> > л£¡
> 
> > _______________________________________________
> > python-chinese list
> > python-chinese at lists.python.cn
> > http://python.cn/mailman/listinfo/python-chinese
> 
> 
> 
> 
> ------------------------------
> 
> Message: 5
> Date: Mon, 28 Feb 2005 11:36:42 +0800
> From: epaulin <epaulin at gmail.com>
> Subject: Re: [python-chinese] ??python2.4????
> To: Kaven Wong <kaven.wong at gmail.com>,  python-chinese at lists.python.cn
> Message-ID: <422291CA.6000802 at gmail.com>
> Content-Type: text/plain; charset=UTF-8; format=flowed
> 
> ln -sf /usr/bin/python2.4 /usr/bin/python
> 
> Kaven Wong 写道:
> 
> >我的系统是Redhat9,系统自己装了python2.2,昨天我新装了python2.4,这样系统中有两个版本同时存在,缺省的启动pythonæ˜?.2
> >版本,我只有输入python2.4才会启动2.4的版本,能不能去æŽ?.2的版本,去掉后怎么è®?.4成为缺省的呢ï¼?
> >
> >同时,我昨天还安装了BitTorrent3.9.1,启动时它要求pythonè¦?.3版本以后的,可是系统缺省的认为是2.2版本,导致bt不能使用ã€?
> >
> >有谁解决过类似的问题吗?谢谢ï¼?
> >  
> >
> >------------------------------------------------------------------------
> >
> >_______________________________________________
> >python-chinese list
> >python-chinese at lists.python.cn
> >http://python.cn/mailman/listinfo/python-chinese
> >  
> >
> 
> 
> 
> ------------------------------
> 
> _______________________________________________
> python-chinese mailing list
> python-chinese at lists.python.cn
> http://python.cn/mailman/listinfo/python-chinese
> 
> 
> End of python-chinese Digest, Vol 14, Issue 79
> **********************************************
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20050228/280a6257/attachment.htm

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

2005年02月28日 星期一 21:32

Nickcheng nickcheng at 163.com
Mon Feb 28 21:32:49 HKT 2005

这个和Python没关系吧!
算法的问题

  _____  

发件人: python-chinese-bounces at lists.python.cn [mailto:python-chinese-bounces at lists.python.cn] 代表 好
发送时间: 2005年2月28日 20:17
收件人: python-chinese at lists.python.cn
主题: [python-chinese] 请教一题的算法


有一天见到一道题目,用python实现快算24扑克游戏。求算法
谢谢

> 想在 python-chinese 列表发言 , 请 email 给
> 
> python-chinese at lists.python.cn
> 
> 经由 WWW 订阅或取消订阅 , 请到
> 
> http://python.cn/mailman/listinfo/python-chinese
> 
> 或通过 email , 送出一封标题或内文为 'help' 到
> 
> python-chinese-request at lists.python.cn
> 
> 想与列表管理员取得联系时 , 请 email 给
> 
> python-chinese-owner at lists.python.cn
> 
> 当回信时 , 请给一个适当的标题 , 这样会比
> "Re: Contents of python-chinese digest..."更清楚明白.
> 
> 
> Today's Topics:
> 
> 1. ?????????? (??)
> 2. ??python2.4???? (Kaven Wong)
> 3. Re: ??python2.4???? (limodou)
> 4. Re: ?? python2.4 ???? (orciloud tang)
> 5. Re: ??python2.4???? (epaulin)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Sun, 27 Feb 2005 14:25:06 +0800 (CST)
> From: ?? <paradisesdk-python at yahoo.com.cn>
> Subject: [python-chinese] ??????????
> To: PythonCN <python-chinese at lists.python.cn>
> Message-ID: <20050227062506.18893.qmail at web15602.mail.cnb.yahoo.com>
> Content-Type: text/plain; charset=gb2312
> 
> http://blog.csdn.net/changzheng/archive/2005/02/27/303594.aspx
> 
> =====
> “阅读清风的邮件,是我一生最快乐的时光”---牛顿
> 
> _________________________________________________________
> Do You Yahoo!?
> 150万曲MP3疯狂搜,带您闯入音乐殿堂
> http://music.yisou.com/
> 美女明星应有尽有,搜遍美图、艳图和酷图
> http://image.yisou.com
> 1G就是1000兆,雅虎电邮自助扩容!
> http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1g/
> 
> 
> ------------------------------
> 
> Message: 2
> Date: Mon, 28 Feb 2005 11:25:58 +0800
> From: Kaven Wong <kaven.wong at gmail.com>
> Subject: [python-chinese] ??python2.4????
> To: python-chinese at lists.python.cn
> Message-ID: <97091547050227192513d676d6 at mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
> 
> 鎴戠殑绯荤粺鏄疪edhat9锛岀郴缁熻嚜宸辫浜唒ython2.2锛屾槰澶╂垜鏂拌浜唒ython2.4锛岃繖鏍风郴缁熶腑鏈変袱涓増鏈悓鏃跺瓨鍦紝缂虹渷鐨勫惎鍔╬ython鏄?.2
> 鐗堟湰锛屾垜鍙湁杈撳叆python2.4鎵嶄細鍚姩2.4鐨勭増鏈紝鑳戒笉鑳藉幓鎺?.2鐨勭増鏈紝鍘绘帀鍚庢€庝箞璁?.4鎴愪负缂虹渷鐨勫憿锛?
> 
> 鍚屾椂锛屾垜鏄ㄥぉ杩樺畨瑁呬簡BitTorrent3.9.1锛屽惎鍔ㄦ椂瀹冭姹俻ython瑕?.3鐗堟湰浠ュ悗鐨勶紝鍙槸绯荤粺缂虹渷鐨勮涓烘槸2.2鐗堟湰锛屽鑷碽t涓嶈兘浣跨敤銆?
> 
> 鏈夎皝瑙e喅杩囩被浼肩殑闂鍚楋紵璋㈣阿锛?
> 
> ------------------------------
> 
> Message: 3
> Date: Mon, 28 Feb 2005 11:34:53 +0800
> From: limodou <limodou at gmail.com>
> Subject: Re: [python-chinese] ??python2.4????
> To: Kaven Wong <kaven.wong at gmail.com>, python-chinese at lists.python.cn
> Message-ID: <505f13c050227193425f19be8 at mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
> 
> 鍏蜂綋鎬庝箞寮勬垜涔熶笉娓呮锛屽ソ璞″唴鏍歌閲嶅缓涓€涓粈涔堜笢瑗裤€傚洜涓烘槸鍥犱负鍦╟sdn涓婂ソ璞¢棶杩囪繖涓棶棰橈紙璁颁笉娓呬簡锛夛紝浠栨槸鎵句簡涓€浣嶅唴鏍搁珮鎵嬬粰瑙e喅鐨勶紝鑷充簬鎬庝箞瑙e喅浠栨病鏈夎銆傚洜姝ゆ垜涔熶笉浼氾紝涓嶈繃鍙互璇锋暀鍐呮牳楂樻墜鍙兘鐭ラ亾鎬庝箞鍥炰簨銆?
> 
> 
> On Mon, 28 Feb 2005 11:25:58 +0800, Kaven Wong <kaven.wong at gmail.com> wrote:
> > 鎴戠殑绯荤粺鏄疪edhat9锛岀郴缁熻嚜宸辫浜唒ython2.2锛屾槰澶╂垜鏂拌浜唒ython2.4锛岃繖鏍风郴缁熶腑鏈変袱涓増鏈悓鏃跺瓨鍦紝缂虹渷鐨勫惎鍔╬ython鏄?.2
> > 鐗堟湰锛屾垜鍙湁杈撳叆python2.4鎵嶄細鍚姩2.4鐨勭増鏈紝鑳戒笉鑳藉幓鎺?.2鐨勭増鏈紝鍘绘帀鍚庢€庝箞璁?.4鎴愪负缂虹渷鐨勫憿锛?
> > 
> > 鍚屾椂锛屾垜鏄ㄥぉ杩樺畨瑁呬簡BitTorrent3.9.1锛屽惎鍔ㄦ椂瀹冭姹俻ython瑕?.3鐗堟湰浠ュ悗鐨勶紝鍙槸绯荤粺缂虹渷鐨勮涓烘槸2.2鐗堟湰锛屽鑷碽t涓嶈兘浣跨敤銆?
> > 
> > 鏈夎皝瑙e喅杩囩被浼肩殑闂鍚楋紵璋㈣阿锛?
> > 
> > _______________________________________________
> > python-chinese list
> > python-chinese at lists.python.cn
> > http://python.cn/mailman/listinfo/python-chinese
> > 
> > 
> > 
> 
> 
> -- 
> I like python! 
> My Blog: http://www.donews.net/limodou
> New Maillist: http://groups-beta.google.com/group/python-cn
> 
> ------------------------------
> 
> Message: 4
> Date: Mon, 28 Feb 2005 11:38:13 +0800
> From: orciloud tang <orciloud at gmail.com>
> Subject: Re: [python-chinese] ?? python2.4 ????
> To: "Kaven Wong , python-chinese at lists.python.cn"
> <kaven.wong at gmail.com>, python-chinese
> <python-chinese at lists.python.cn>
> Message-ID: orciloud at gmail.com>
> Content-Type: text/plain; charset="GB2312"
> 
> 
> 基础知识
> Which python 然后rm 得到的path..
> 再 ln -s /python/2.4 /usr/local/bin/python
> Exit;
> 
> 
> 
> On 2/28/05 11:25 AM, "Kaven Wong" <kaven.wong at gmail.com> wrote:
> 
> > 我的系统是Redhat9,系统自己装了python2.2,昨天我新装了python2.4,这样系统中有两个版本同时存
> > 在,缺省的启动python是2.2
> 版本,我只有输入python2.4才会启动2.4的版本,能不能去掉2.2的版本,
> > 去掉后怎么让2.4成为缺省的呢?
> 
> 同时,我昨天还安装了BitTorrent3.9.1,启动时它要求python
> > 要2.3版本以后的,可是系统缺省的认为是2.2版本,导致bt不能使用。
> 
> 有谁解决过类似的问题吗?谢
> > 谢!
> 
> > _______________________________________________
> > python-chinese list
> > python-chinese at lists.python.cn
> > http://python.cn/mailman/listinfo/python-chinese
> 
> 
> 
> 
> ------------------------------
> 
> Message: 5
> Date: Mon, 28 Feb 2005 11:36:42 +0800
> From: epaulin <epaulin at gmail.com>
> Subject: Re: [python-chinese] ??python2.4????
> To: Kaven Wong <kaven.wong at gmail.com>, python-chinese at lists.python.cn
> Message-ID: <422291CA.6000802 at gmail.com>
> Content-Type: text/plain; charset=UTF-8; format=flowed
> 
> ln -sf /usr/bin/python2.4 /usr/bin/python
> 
> Kaven Wong 鍐欓亾:
> 
> >鎴戠殑绯荤粺鏄疪edhat9锛岀郴缁熻嚜宸辫浜唒ython2.2锛屾槰澶╂垜鏂拌浜唒ython2.4锛岃繖鏍风郴缁熶腑鏈変袱涓増鏈悓鏃跺瓨鍦紝缂虹渷鐨勫惎鍔╬ython鏄?.2
> >鐗堟湰锛屾垜鍙湁杈撳叆python2.4鎵嶄細鍚姩2.4鐨勭増鏈紝鑳戒笉鑳藉幓鎺?.2鐨勭増鏈紝鍘绘帀鍚庢€庝箞璁?.4鎴愪负缂虹渷鐨勫憿锛?
> >
> >鍚屾椂锛屾垜鏄ㄥぉ杩樺畨瑁呬簡BitTorrent3.9.1锛屽惎鍔ㄦ椂瀹冭姹俻ython瑕?.3鐗堟湰浠ュ悗鐨勶紝鍙槸绯荤粺缂虹渷鐨勮涓烘槸2.2鐗堟湰锛屽鑷碽t涓嶈兘浣跨敤銆?
> >
> >鏈夎皝瑙e喅杩囩被浼肩殑闂鍚楋紵璋㈣阿锛?
> > 
> >
> >------------------------------------------------------------------------
> >
> >_______________________________________________
> >python-chinese list
> >python-chinese at lists.python.cn
> >http://python.cn/mailman/listinfo/python-chinese
> > 
> >
> 
> 
> 
> ------------------------------
> 
> _______________________________________________
> python-chinese mailing list
> python-chinese at lists.python.cn
> http://python.cn/mailman/listinfo/python-chinese
> 
> 
> End of python-chinese Digest, Vol 14, Issue 79
> **********************************************
> 




	

 <http://www.188.com/index.htm?from=>  


   <http://www.188.com/index.htm?from= target=> 网易188财富邮--财富的象征;全新开放, 丰富用户名等您注册
  最大 <http://www.188.com/index.htm?from=> 5G空间,附件40兆收发;免费注册体验 http://www.188.com/   <http://mail.126.com/favicon.ico> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20050228/90751541/attachment.html

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

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

    你的回复:

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

    Zeuux © 2025

    京ICP备05028076号