如何像電腦科學家一樣思考 |10. 模組和檔案
Created at Sunday, 05 April 2009 08:00 Last Updated on Wednesday, 12 October 2011 11:11
Written by 自由軟體鑄造場 徐孟逵/翻譯
§原文位址§
10.1 模組
一個模組就是一個內含Python 定義和陳述的檔案,而這些定義和陳述是要在其他 Python 程式中使用的。FDFDFDFixfdfPython 裡隨附許多 Python 模組,做為標準程式庫的一部分。我們已經見過兩種模組,doctest 模組和 string 模組。
……詳細全文請至此下載閱讀
You may be interested in the following articles: