作者查詢 / sonyu

總覽項目: 發文 | 留言 | 暱稱
作者 sonyu 在 PTT [ Python ] 看板的留言(推文), 共14則
限定看板:Python
首頁
上一頁
1
下一頁
尾頁
[問題] anonymous inner classes??
[ Python ]13 留言, 推噓總分: +4
作者: Arim - 發表於 2013/10/05 15:53(12年前)
5Fsonyu:另外訂 self.custom_hash_function, 然後 __hash__ 去 call10/06 16:06
6Fsonyu:只是這樣會多呼叫的成本, inner class 或是 type 都不錯啊10/06 16:07
7Fsonyu:p.s. 也許不一定要用 __hash__ 來實作?10/06 16:13
8Fsonyu:http://docs.python.org/2/glossary.html#term-hashable10/06 16:15
9Fsonyu:__hash__() 理論上不能變, 所以應該在 class 定義裡改10/06 16:17
10Fsonyu:而不要動態去改物件的 __hash__,有點 hack 啦10/06 16:17
[問題] 計算list的總合公式?
[ Python ]28 留言, 推噓總分: +21
作者: magiclass - 發表於 2012/10/02 20:33(13年前)
18Fsonyu:XD 開 interpreter 自己玩看看吧10/03 23:11
[問題] python GUI
[ Python ]16 留言, 推噓總分: +10
作者: expiate - 發表於 2007/01/23 17:09(19年前)
16Fsonyu:PyQt4 ... powerful, 但需要時間查東西就是了= =a02/03 16:01
[公告] 本板與 tw.bbs.comp.lang.python 轉信
[ Python ]2 留言, 推噓總分: +2
作者: ericsk - 發表於 2006/01/07 19:17(20年前)
2Fsonyu:板大萬歲  \0.0/01/07 22:27
Re: [問題] 要不要跟python全國轉信版接在一起呀?
[ Python ]0 留言, 推噓總分: 0
作者: ericsk - 發表於 2005/12/29 21:47(20年前)
2Fsonyu:那這個群組,就從 python@ptt 開始如何?12/29 00:13
Re: [問題] 要不要跟python全國轉信版接在一起呀?
[ Python ]4 留言, 推噓總分: +3
作者: ericsk - 發表於 2005/12/27 13:59(20年前)
2Fsonyu:那這個群組,就從 python@ptt 開始如何?12/29 00:13
[問題] 要不要跟python全國轉信版接在一起呀?
[ Python ]6 留言, 推噓總分: +6
作者: wawawa - 發表於 2005/12/26 20:02(20年前)
2Fsonyu:It sounds good.12/26 21:15
[閒聊] 用 python 寫的軟體
[ Python ]4 留言, 推噓總分: +3
作者: sonyu - 發表於 2005/12/26 01:48(20年前)
2Fsonyu:你這一說我才想到 XD12/26 13:25
3Fsonyu:還有 superKaramba 也是喔!12/26 13:26
首頁
上一頁
1
下一頁
尾頁