看板 Python 關於我們 聯絡資訊
Python的中文線上資源相當貧乏(好像書籍也是) 大體上 除了一些開發者網誌上的零星文章之外 觀念上寫的比較多的(或是比較完整) 目前我只找的到這些文件 http://www.freebsd.org.hk/html/python/tut_tw/tut.html Python教學文件--譯者:周譯樂 http://www.chinesepython.org/pythonfoundry/ossacc/ Python語言入門--作者:葉平 http://www.chinesepython.org/pythonfoundry/marrpydoc/ Python之旅--作者:marr http://www.iis.sinica.edu.tw/~marr/python/ Python Handbook--作者:marr http://larc.ee.nthu.edu.tw/~ythsing/python.html Python Tutorial--作者:邢育肇 如果不怕英文 英文資源會豐富很多 可以參考Magnus Lie Hetland的Instant Python http://hetland.org/writing/instant-python.html 其中提到的 "Called self in this example, which is customary." "Some method names, like __init__ (with two underscores before and after), are pre-defined, and mean special things. __init__ is the name of the constructor of the class, i.e. it is the function that is called when you create an instance." 也許可以提供一些英文的詮釋 另外一份依GNU Free Documentation License許可的線上教材 裡面 14. Classes and objects http://openbookproject.net/thinkcs/python/english2e/ch14.xhtml 對於class的用法說明的比較清楚 還是得要留心一點 Python裡有非常多(大量)built-in的東西 不論是函數、模組(或稱函式庫)、例外抑或變數、常數等等 詳細的內容 請參考Python Library Reference http://docs.python.org/lib/lib.html ※ 引述《gasolin (小g)》之銘言: : ※ 引述《purestone (天空之子)》之銘言: : : 你寫了好多,我也看了好多,不過還是不懂....... : : 不管怎樣,謝謝你花這麼時間和心力回應~ : 你可以補充一下物件導向設計的概念, : 剛剛用 wikipedia 上的虛擬碼範例改成了周蟒版, : 可以參考看看 : http://zh.wikipedia.org/wiki/ZhPy#.E9.A1.9E.E5.88.A5 -- 門外漢 http://aockc.blogspot.com/ -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 118.169.129.209 ※ 編輯: monomorium 來自: 118.169.135.61 (04/29 22:58)