安装python, 下载地址 https://www.python.org/downloads/
当前版本是Python 3.7.2+。
根据版本和操作系统选择下载链接,比如安装windows下的3.6.3版本选择如下: https://www.python.org/ftp/python/3.6.6/python-3.6.6-amd64.exe
大多数Python 包都使用pip 实用工具安装。
$ pip install jupyter notebook
文件读取:csv(pandas库),图片(pilllow库),其他(字符串处理)
*安装jupyter notebook pip install jupyter notebook
*使用
$jupyter notebook
或者使用:
- IPython
命令行输入:
$ ipython notebook
*界面
序号 | 内容 |
---|---|
第1天 | Strings Numbers Lists Dictionaries Conditionals For loops |
第2天 | Functions Classes File IO Exceptions |
第3天 | Modules and packages, Project Structure, PyTest_1_2, Debugging |
第4天 | testing1, testing2, Goodies of the Standard Library-1-2 |
第5天 | idiomatic_dicts, idiomatic_loops |
第6天 | recap1_exercise1 recap2_exercise |
第7天 | std_lib2, pytest_fixtures |
第8天 | best_practices, conclusion |
Numpy数据操作:基本操作(dtype,reshape,transpose),数据切分(下标访问,random.sample等等)
Stanford U., CS231n, http://cs231n.github.io/python-numpy-tutorial/
- Learning Python 3, https://github.com/jerry-git/learn-python3.