玩 Python

收集中文與外文的 Python 相關技術資訊。快來參加本群組,幫忙加 Python 書籤!
小提示: 要快速找到需要的書籤嗎?點左側分類,畫面會先出現該分類下相關的標籤雲。再點標籤之後,即會幫你精準找到「分類」+「標籤」交集過後的書籤。也可以用下方功能列中之收推、討論或熱門等方式加以排序喔
瀏覽模式
書籤標題
收藏時間
728265

gasolin 收藏於 2007/08/11

也許你會認為英文是電腦的標准語言, 要學電腦就要學英文, 因此不必為了那些又想學寫程式但又不想學英文的懶鬼操心。 然而學英文是要的,但最好別從電腦程式中來學, 因為編程語言和英文自然語言很不一樣。

周蟒 (zhpy) 讓你可以使用純中文句子(繁體或簡體)來編寫 Python 語言程式。

完整
2007/08/11
532022

yungyuc 收藏於 2007/04/30

因為 AjaxMind 的工作,必需暫時告一段落,而且已經可透過 AjaxMind 產出投影片,所以先釋出一個版本 AjaxMind-0.1 。

完整
2007/04/30
528449

yungyuc 收藏於 2007/04/26

IE 和 Firefox 1.5 開始,任何 element 只要設定 tabindex 這個 attribute 後,都自動變成 key-navigable ,能接受 focus 。這應該是媽祖託夢,雖然這個主意起自於萬惡、亂搞的 IE 。

完整
2007/04/26
515872

Infinity_ 收藏於 2007/04/16

Guido van Rossum Python Software Foundation Email: docs@python.org Fred L. Drake, Jr., editor Release 2.5 19th September, 2006

Python入門文件

完整
2007/04/16
503993

gasolin 收藏於 2007/04/06

無論妳只是個電腦初學者或是個有經驗的程式設計師, 這本書都能協助妳學習 Python 程式語言. 本書是對照英文版, 並在簡體中文版的基礎上, 針對慣用語, 與原翻譯者理解不同處, 還有原文的改進之處進行正體中文版翻譯.

Python 語言雖然很容易, 但彈性大的語言卻頗不容易教, 因為可以入手的點實在太多了. 這本 Byte of Python 是我看過講 Python 語言講得最簡單清楚的一本電子書. 這個網站平台允許讀者直接在文章旁加入的評論

完整
2007/04/06
459777

yungyuc 收藏於 2007/02/26

分享你的 Django code snippet!

完整
2007/02/26
461533

yungyuc 收藏於 2007/02/24

這些只是建議性原則,將日常遇到的原則問題和解決方法表列。曾在別人的 blog 看到有人提起這篇 memo,表示無法了解規則背後的理由。規則陳述句會盡量精簡,所以並不是每個人都可以看懂。也許像推背圖,事情發生時就會晃然大悟,原來如此 :p 當然,這個 memo 不像推背圖精深、博大。

完整
2007/02/24
456543

yungyuc 收藏於 2007/02/15

Mercurytide 製作了一份Django 0.95+svn 版的小抄, 裏面包含了Template的內建tags跟filters, ORM model裡的Field Type/Options,跟meta, 小抄裡用了圖型標示,讓人能一目瞭然, 分類很清楚, 製作也很精緻. 值得django user印出來參考.

完整
2007/02/15
998112

yungyuc 收藏於 2007/02/06

我發現,寫程式速度往往受限於打字速度啊。XD

完整
2007/02/06
999971

gasolin 收藏於 2007/01/30

Test: * CodeIgniter on PHP * Catalyst on Perl * Django on Python * RubyOnRails on Ruby * Symfony on PHP * TurboGears on Python

# Django has won over the nearest competitors with the approximate triple superiority. # Second and third places have divided TurboGears and RoR 1.1.6, because they are equally fast, but behave differently at different loads, overtaking each other. RoR 1.2.1 falling of productivity in 2-4 times in comparison with 1.1.6 version.

完整
2007/01/30
418589

yungyuc 收藏於 2007/01/24

总是看到有人对 python 中的 method 和 function 之间关系的困惑,其实初学 python 时我也困惑过,不过现在自认为对这个问题还是基本清楚了 ;-)。

完整
2007/01/24
426130

yungyuc 收藏於 2007/01/13

寫網頁程式時,要輸出到網頁上的資料常常會帶有 HTML 標籤,譬如 blahblah,或者資料內容「像」HTML 標籤,例如 一通。在 Django template 中,提供了一個 filter 來把字串裡的 HTML 標籤相關字碼轉成 HTML entity。這個 filter 就是 escape。

完整
2007/01/13
395750

yungyuc 收藏於 2007/01/13

對 Python 的 boolean expression 與 conditional expression 作點探討與整理。

完整
2007/01/13
379695

蘑菇 收藏於 2007/01/08

向 C 語言的使用者介紹 Python 語言.

完整
2007/01/08
432288

yungyuc 收藏於 2006/12/16

TurboGears 好用的地方並不是在它堆砌了許多開源的 python web 專案(如不曾成功過的 subway),而是真正提出了一個整合這些 python web 開發資源的方法. 並提供相當具有 python 風格(pythonic) 的使用方式.

完整
2006/12/16
335487

AlanSung 收藏於 2006/12/12

Reading and writing Unicode files from Python is simple. Use codecs.open() and specify the encoding.

That's great, so I can make every file readed as Unicode string

完整
2006/12/12
371384

AlanSung 收藏於 2006/12/06

Python has no conditional operator, but you can simulate one with the form val = (boolean_test and true_return) \ or false_return

? true : false 的 python 版本

完整
2006/12/06
415112

AlanSung 收藏於 2006/12/05

This page is devoted to various tips and tricks that help improve the performance of your Python programs. Wherever the information comes from someone else, I've tried to identify the source.

完整
2006/12/05
415309

AlanSung 收藏於 2006/12/05

A programmer can be significantly more productive in Python than in Java. How much more productive? The most widely accepted estimate is 5-10 times. On the basis of my own personal experience with the two languages, I agree with this estimate.

好,對於開始學 Python 的人有助益

完整
2006/12/05
321638

reader 收藏於 2006/11/26

學任一種語言,要說得道地,關鍵是讓自己融入該語言的風格、特色中,體會語言社群的風土,知道其慣用法。 既然 Python 寫的 code 有 executable pseudo code 的美稱,想寫出 Pythonic 的 code ,當然要站在一定的高度,讓寫出來的 code 夠 pseudo..

完整
2006/11/26
324900

AlanSung 收藏於 2006/11/22

不過說要學個語言不是那麼容易,雖然說比起英語德語加法語來說,學個程式語言比較起來容易太多了,可是沒有個入門文件也是不行的。上網一查「Python」,結果台灣陣亡,第一頁最有用的就是第一筆: Python 教學文件。這可以位在香港的,看來我以前沒學 Python 也不能怪自己,資源少的可憐的感覺,隨隨便便要找個論壇都還來個 404 。

自己推一下,做個記錄。

完整
2006/11/22
311136

gasolin 收藏於 2006/11/01

a free book about Django

完整
2006/11/01
完整
2006/10/27
305126

yungyuc 收藏於 2006/10/27

完整
2006/10/27
292700

yungyuc 收藏於 2006/10/16

「PHP 會被 Ruby 殺死嗎?」 Stefan 認為簡單的答案是「不」。

語言殺語言的話,一定是用死亡筆記本吧。

完整
2006/10/16
295879

yungyuc 收藏於 2006/10/15

TurboGears -- 提供网页前端到后端整合的网站框架 python 上有无数网页开发模组可选择. 随着选择的增加, 要挑选合适的模组会花上开发者宝贵的时间精力, 众多选项的负面效果开始让 python 开发者感到喘不过气.

完整
2006/10/15
270775

cyt 收藏於 2006/10/10

This book is about the fundamentals of data structures and algorithms.

完整
2006/10/10
81929

ericsk 收藏於 2006/10/10

Dive Into Python is a Python book for experienced programmers. You can buy a printed copy, read it online, or download it in a variety of formats. It is also available in multiple languages.

完整
2006/10/10