# install python
在window下下载python安装包并安装(会自动安装pip和setuptools,如没有可以[下载pip](https://bootstrap.pypa.io/get-pip.py
)然后安装:python get-pip.py),然后添加脚本(如C:\Python27\Scripts或C:\Python36\Scripts)到系统路径里。以后可以用pip安装package了,如 :
pip install pandas
pip install -U pytest
详情见:[Installing Packages](https://packaging.python.org/tutorials/installing-packages/).
[在同一台电脑下如何进行 Python 2 与 3 的切换?](https://www.zhihu.com/question/22846291)
[Installing Python 3 on Windows](https://python-guide-pt-br.readthedocs.io/en/latest/starting/install3/win/)
[How to Install Python on Windows](https://www.howtogeek.com/197947/how-to-install-python-on-windows/)
[How To Install Python 3 and Set Up a Local Programming Environment on Ubuntu 16.04](https://www.digitalocean.com/community/tutorials/how-to-install-python-3-and-set-up-a-local-programming-environment-on-ubuntu-16-04)
# python tutorial
[Google's Python Class](https://developers.google.com/edu/python/)
[Tutorial - Learn Python in 10 minutes](https://www.stavros.io/tutorials/python/)
[Python Quick Guide - TutorialsPoint](https://www.tutorialspoint.com/python/python_quick_guide.htm)
[Python tutorial - TutorialsPoint] (https://www.tutorialspoint.com/python/)
[Learn python in Y Minutes](https://learnxinyminutes.com/docs/python/)
[Python 2.7教程- 廖雪峰的官方网站](http://www.liaoxuefeng.com/wiki/001374738125095c955c1e6d8bb493182103fac9270762a000)
[Python Practice Book](http://anandology.com/python-practice-book/#python-practice-book)
[The Python Tutorial — Python 3.6.2rc1 documentationl](https://docs.python.org/3/tutorial/)
[Python官方入门教程](https://docspy3zh.readthedocs.io/en/latest/tutorial/)
[python变量(全局变量,局部变量,类变量,实例变量)](http://www.imooc.com/article/14652)
[Matplotlib 教程](https://liam0205.me/2014/09/11/matplotlib-tutorial-zh-cn/)
[Python Plotting for Exploratory Analysis](http://pythonplot.com/#stacked-bar-chart)
[http://www.python-course.eu/course.php](http://www.python-course.eu/course.php)
# numpy tutorial
[Quickstart tutorial](https://docs.scipy.org/doc/numpy-dev/user/quickstart.html)
[Python Numpy Tutorial](https://cs231n.github.io/python-numpy-tutorial/)
[NumPy Tutorial](https://www.tutorialspoint.com/numpy/)
[Numpy Tutorial](http://www.python-course.eu/numpy.php)
[Python Numpy Array Tutorial](https://www.datacamp.com/community/tutorials/python-numpy-tutorial#gs.SOjAQrE)
[Numpy beginner tutorial](https://github.com/rougier/numpy-tutorial)
[Numpy 学习](https://www.zybuluo.com/tankle/note/51606)
# QA
## Decorator 装饰器
[如何理解Python装饰器?](https://www.zhihu.com/question/26930016)
[装饰器](http://www.liaoxuefeng.com/wiki/001374738125095c955c1e6d8bb493182103fac9270762a000/001386819879946007bbf6ad052463ab18034f0254bf355000)
## generator 生成器
[generator](https://stackoverflow.com/questions/1756096/understanding-generators-in-python)
[Transporting vectorized Matlab code to python, numpy] (https://stackoverflow.com/questions/24439995/transporting-vectorized-matlab-code-to-python-numpy)
[Iterating Over Arrays](https://docs.scipy.org/doc/numpy/reference/arrays.nditer.html#arrays-nditer) [NumPy - 数组上的迭代](https://wizardforcel.gitbooks.io/ts-numpy-tut/content/11.html) [ nditer —— numpy.ndarray 多维数组的迭代](http://blog.csdn.net/lanchunhui/article/details/55657135)
[Python 分发工具初探之 setuptools](http://blog.luoyuanhang.com/2016/03/23/Python-%E5%88%86%E5%8F%91%E5%B7%A5%E5%85%B7%E5%88%9D%E6%8E%A2%E4%B9%8B-setuptools/)
# cython, ctypes
[Using C++ in Cython](https://cython.readthedocs.io/en/latest/src/userguide/wrapping_CPlusPlus.html)
[Septicmk 如何使用Cython](http://blog.septicmk.com/Python/use-Cython.html)
[如何实现 C/C++ 与 Python 的通信?](https://www.zhihu.com/question/23003213)
[Cython 入门教程](https://charlesnord.github.io/2017/03/11/cython-tuto/)
[15.1 使用ctypes访问C代码](https://python3-cookbook.readthedocs.io/zh_CN/latest/c15/p01_access_ccode_using_ctypes.html)
[Using Python ctypes to link C/C++ library](http://bigbang.waterlin.org/bang/using-python-ctypes-to-link-cpp-library/)
[ctypes — A foreign function library for Python](https://docs.python.org/2/library/ctypes.html)
# examples
[Logistic regression from scratch in Python](https://github.com/perborgen/LogisticRegression)
[Logistic Regression classifier written in python](https://github.com/aceveggie/LogisticRegression)
[some machine learning algorithm from chyikwei](https://github.com/chyikwei/MachineLearning)
# Books
[python基础教程第三版pdf中文高清版](http://www.itmop.com/downinfo/43645.html)
[python基础教程](https://github.com/huyubing/books-pdf/blob/master/python%E5%9F%BA%E7%A1%80%E6%95%99%E7%A8%8B%EF%BC%88%E7%AC%AC%E4%BA%8C%E7%89%88%EF%BC%89.pdf)
[Python相关英文新书下载链接](http://www.jianshu.com/p/b494589eee52) including books such as "Modular Programming with Python",...
[Learn Python the Hard Way](https://github.com/chris-void/pyway/blob/master/Learn%20Python%20The%20Hard%20Way,%203rd%20Edition%20.pdf)
[Python Data Science Handbook](https://github.com/jakevdp/PythonDataScienceHandbook)
[Python Cookbook](https://learko.github.io/books/coding/Python_Cookbook_3rd_Edition.pdf)
[Python Machine Learning pdf](https://github.com/PlamenStilyianov/Python/blob/master/Python%20Machine%20Learning.pdf)
[流畅的Python](https://jackmk.ctfile.com/fs/14155983-203386385)
[Mastering Python](https://scanlibs.com/mastering-python-rick-van-hattem/)
[Learning Python](http://stock.ethop.org/pdf/python/Learning%20Python,%205th%20Edition.pdf)