先来教程 - [python3 office tutorial](https://docs.python.org/3/tutorial/index.html) - [A Byte of Python](https://python.swaroopch.com/) [win下installation](https://www.python.org/downloads/release/python-352/),embeddable >>压缩包,executable >>可执行文件,web-based >> 网络安装。 [a byte of Python 繁体中文](https://code.google.com/archive/p/zhpy/wikis/ByteOfZhpy.wiki) 没有简中,还得翻墙... 没看到目录,[另外找了一个目录](https://www.diigo.com/list/evileast/byte_of_python)。看不懂的时候作为参照吧。 #### official introdcution Python is an easy to learn, powerful programming language. It has efficient high-level data structures and a simple but effective approach to object-oriented programming. Python's elegant syntax and dynamic typing, together with its interpreted nature, make it an ideal language for scripting and rapid application development in many areas on most platforms. - oop + pop - data structure 和php不一样,'' === "",然后有 ''' or """(triple quotes)。 看到后面已经放弃office tutorial了,完全在看a byte of python23333 看操作符时又长见识了,这里记一些之前php用的比较少的operator: ```python **(power) #3 ** 4 gives 81 // (divide and floor) #13 // 3 gives 4 % (modulo) #13 % 3 gives 1 << (left shift) #2 << 2 gives 8 ``` #### 日本語 [世界初!美少女キャラがプログラミングを教える Python入門編を無料公開!!](http://prtimes.jp/main/html/rd/p/000000009.000012063.html) 蜜汁标题。话说不管doinstall.com还是paiza.jp之类的プログラミング学習サイト,基本国内都看不了{= L=},因为配信是vimeo的server,赶紧充值get shadowsocks的server。 [#01 Pythonを使ってみよう ](http://dotinstall.com/lessons/basic_python_v3/38701) ----------------- ## 15-Dec-16 断了很久的学习...mac下自带python2.7,去官网下了3.6然后准备装django,3.6自带pip,跟着tutorial准备更新,失败。 ``` pip install -U pip ``` 用了[v2ex](https://www.v2ex.com/t/327288)推荐的源: ```bash sudo pip install --index-url https://pypi.douban.com/simple ipython sudo pip install --index-url https://pypi.douban.com/simple --upgrade pip ```