python是吉多·範羅蘇姆發明的一種面向對象的腳本語言,可能有些人不知道面向對象和腳本具體是什麼意思,可是對於一個初學者來講,如今並不須要明白。你們都知道,當下全棧工程師的概念很火,而Python是一種全棧的開發語言,因此你若是能學好Python,那麼前端,後端,測試,大數據分析,爬蟲等這些工做你都能勝任。前端
關於語言的選擇,有各類各樣的討論,在這裏我很少說,就引用Python裏面的一個彩蛋來講明爲何要選擇Python,在Python解釋器裏輸入import this 就能夠看到。python
1 >>> import this 2 3 4 5 The Zen of Python by Tim Peters 6 7 8 9 Beautiful is better than ugly. 10 11 Explicit is better than implicit. 12 13 Simple is better than complex. 14 15 Complex is better than complicated. 16 17 Flat is better than nested. 18 19 Sparse is better than dense. 20 21 Readability counts. 22 23 Special cases aren't special enough to break the rules. 24 25 Although practicality beats purity. 26 27 Errors should never pass silently. 28 29 Unless explicitly silenced. 30 31 In the face of ambiguity, refuse the temptation to guess. 32 33 There should be one-- and preferably only one --obvious way to do it. 34 35 Although that way may not be obvious at first unless you're Dutch. 36 37 Now is better than never. 38 39 Although never is often better than *right* now. 40 41 If the implementation is hard to explain, it's a bad idea. 42 43 If the implementation is easy to explain, it may be a good idea. 44 45 Namespaces are one honking great idea -- let's do more of those!
上面的話簡單的總結來講就是「優雅」、「明確」、「簡單」,或許你仍是有些不明白,舉個簡單的例子,若果一樣的功能你用C/C++寫可能要寫100行代碼,而若是用Python寫你可能只要20行代碼就搞定,一樣的若是一個問題有好幾種解決方案,可是Python會用一種最簡單的方法來實現。因此Python是用最簡單最優雅最明確的方法來解決問題。後端