【美妙的Python之一】Python簡介及環境搭建
美妙的Python之Python簡介及安裝
簡而言之: Python 是能你無限驚喜的語言,與眾不同。
1.Python:
Python
英文意思為蟒蛇,故又稱為蟒蛇語言,在圖示設計上有所體現,貴鐸·範·羅薩姆(Guido van Rossum)於1989年創立。Python的特質,簡單,優雅,健壯,繼承傳統程式語言的強大性與通用性,同時兼具簡單指令碼的簡單性。

Python的哲學:只用一種方法,最好是隻有一種方法來做一件事。
設計者在設計Python時,面臨多種選擇的時候,總會拒絕花哨的語法,而選擇明確的,沒有歧義的語法。Python設計者極力避免開發者陷入複雜而困惑的選擇,這一主張使得Python獲得越來越多渴望從複雜程式設計中掙脫的開發者的青睞。
優美勝於醜陋:
Python以編寫優美的程式碼為目標,易於閱讀。
簡潔勝於複雜:
Python程式碼力求簡潔,儘量避免複雜的內部實現。
可讀性至關重要:
Python程式碼優美且可讀性極強。
2.Python特點:
簡單性:Python是簡單主義思想的產物。
高階性:Python是更高階的語言,內部有很多資料結構,開發更加快捷。
易讀性:Python語法清晰,結構簡單,閱讀與編寫Python程式,就如讀寫英文一般直觀。
健壯性:Python提供良好的異常處理,同時接管了記憶體管理。
豐富的庫:Python 的庫支援幾乎沒有盲區。
3.安裝Python:
Windows系統下安裝Python2.7,這個版本比較穩定,從學習的角度,版本都不應該成為問題。
點選安裝即可:

選擇安裝路徑:

稍等幾分鐘,安裝完成:

4.安裝PythonWin:
PythonWin是一款優秀的Python IDE,十分適合用於學習Python.
點選安裝即可,安裝程式會自動匹配Python安裝路徑:

安裝完成後點選完成:

5.Hello World:
開啟PythonWin,介面如下:

File->New->選擇Python Script:

編寫Hello World:

只需寫一行程式碼:print "Hello World !"
儲存檔案,點選執行:

Hello World !執行結果:

Nice!
相關文章
- Python學習系列之一: python相關環境的搭建Python
- Dapr-簡介及環境搭建
- python環境搭建Python
- Python爬蟲之scrapy框架簡介及環境安裝Python爬蟲框架
- 環境搭建及介紹
- python教程(一)·python環境搭建Python
- Life in simple,I use python-----python介紹與環境搭建Python
- aws 之 python 和 go 環境簡單搭建PythonGo
- 簡單介紹python虛擬環境 virtualenv的使用Python
- Python3 環境搭建Python
- python虛擬環境搭建Python
- python+anaconda環境搭建Python
- Python搭建虛擬環境Python
- Python要點及其環境搭建+Pycharm簡單使用教程PythonPyCharm
- Mac搭建appium環境及python執行程式碼示例MacAPPPython行程
- Python+Selenium(1)- 環境搭建Python
- python virtualenv虛擬環境搭建Python
- Python虛擬環境介紹Python
- 小白自學Python(二)Python開發環境搭建Python開發環境
- Angular環境搭建及簡單體驗Angular
- Python虛擬環境工具-Virtualenv 介紹及部署記錄Python
- Python筆記 開發環境搭建Python筆記開發環境
- mac 搭建python+selenium+chromedriver環境MacPythonChrome
- qgis 3.30 python開發環境搭建Python開發環境
- Python 開發環境搭建(5):SNMPPython開發環境
- Elasticsearch使用系列-ES簡介和環境搭建Elasticsearch
- Anaconda快捷搭建Python2和Python3環境Python
- python+selenium UI自動化測試環境搭建及使用PythonUI
- Flutter學習之路(一)Flutter簡介及Window下開發環境搭建Flutter開發環境
- Python 版本及虛擬環境管理Python
- Python3 flask nginx uwsgi 環境搭建PythonFlaskNginx
- vs2015 + Python3.5 環境搭建Python
- Ubuntu下Python & Django開發環境搭建UbuntuPythonDjango開發環境
- Python 開發環境搭建(04):pydev 配置Python開發環境dev
- Python3 環境搭建(Windows和Linux)PythonWindowsLinux
- Python基礎:搭建開發環境(1)Python開發環境
- 如何用pyenv搭建Python開發環境?Python開發環境
- windows上python3開發環境的搭建WindowsPython開發環境
- python環境Python