2022年1月4日 星期二

Pytnon2.x

Python2.x Python 基礎教程 Python 簡介 Python 環境搭建 Python 中文編碼 Python 基礎語法 Python 變量類型 Python 運算符 Python 條件語句 Python 循環語句 Python While 循環語句 Python for 循環語句 Python 循環嵌套 Python break 語句 Python continue 語句 Python pass 語句 Python Number(數字) Python 字符串 Python 列表(List) Python 元組 Python 字典(Dictionary) Python 日期和時間 Python 函數 Python 模塊 Python 文件I/O Python File 方法 Python 異常處理 Python OS 文件/目錄方法 Python 內置函數 Python 面向對象 Python 正則表達式 Python CGI 編程 Python MySQL Python 網絡編程 Python SMTP Python 多線程 Python XML 解析 Python GUI 編程(Tkinter) Python2.x 與 3​​.x 版本區別 Python IDE Python JSON Python 100例 Python 測驗 << Python uWSGI 安裝配置Python 簡介 >> Python 基礎教程 python Python 是一種解釋型、面向對象、動態數據類型的高級程序設計語言。 Python 由 Guido van Rossum 於 1989 年底發明,第一個公開發行版發行於 1991 年。 像 Perl 語言一樣, Python 源代碼同樣遵循 GPL(GNU General Public License) 協議。 官方宣佈,2020 年 1 月 1 日, 停止 Python 2 的更新。 Python 2.7 被確定為最後一個 Python 2.x 版本。 誰適合閱讀本教程? 本教程適合想從零開始學習 Python 編程語言的開發人員。當然本教程也會對一些模塊進行深入,讓你更好的瞭解 Python 的應用。 本教程主要針對 Python 2.x 版本的學習,如果你使用的是 Python 3.x 版本請移步至。 本教程所有實例基於 Python2.7。 學習本教程前你需要瞭解 在繼續本教程之前,你應該瞭解一些基本的計算機編程術語。如果你學習過 PHP,ASP 等編程語言,將有助於你更快的瞭解 Python 編程。 執行Python程序 對於大多數程序語言,第一個入門編程代碼便是 "Hello World!",以下代碼為使用 Python 輸出 "Hello World!": 實例 #!/usr/bin/python print("Hello, World!") Python 3.0+ 版本已經把 print 作為一個內置函數,輸出 "Hello World!" 代碼如下: 實例(Python 3.0+) #!/usr/bin/python3 print("Hello, World!")

沒有留言:

張貼留言

Python 標準函式庫 (Standard Library

Python 標準函式庫 (Standard Library) — Python 3.12.0a3 說明文件 ...