“Python编程”版本间的差异

来自iCenter Wiki
跳转至: 导航搜索
Numpy库使用
Python教学
第45行: 第45行:
  
  
 +
{| class="wikitable"
 +
|-
 +
! 课次 !! 日期 !! 内容 !! 关键词/概述
 +
|-
 +
| 第0课 || 2019-06-24 || 建立微信群 ||
 +
|-
 +
| 第1天 || 2019-07-01 || 上午 || 课程介绍 实验环境 \Git\Jupyter notebook\
 +
|-
 +
| 第2天 || 2019-07-02 || 上午 ||  [Strings][Numbers][Lists][Dictionaries]
 +
|-
 +
| 第3天 || 2019-07-03 || 上午 ||  [Conditionals][For loops][Functions][Classes]
 +
|-
 +
| 第4天 || 2019-07-04 || 上午 ||  [File I\O][Exceptions] [Modules and packages]
 +
|-
 +
| 第5天 || 2019-07-05 || 上午 ||  Data structures: Sort
 +
|-
 +
| 第6天 || 2019-07-08 || 上午 ||  Data structures: Tree
 +
|-
 +
| 第7天 || 2019-07-09 || 上午 ||  Data structures: Graph
 +
|-
 +
| 第8天 || 2019-07-10 || 上午 ||  [[OOP - inheritance]][[OOP - Abstract Base Classes]]
 +
|}
  
 
=参考书=
 
=参考书=

2019年7月12日 (五) 04:29的版本

理解编程

Programming Program

python语言

集成开发环境IDE

编辑器软件安装:

  • 编辑开发环境
(1)Visual Studio Code/ Notepad++文件编辑器 / Sublime 文本编辑器;
(2)Git-bash安装程序;


Python安装

Python 3.6.2+。

Python安装程序可以从Python网站(http://www.python.org)直接下载,或者也可以直接安装Anacoda Python发行版(https://www.continuum.io)。

pip安装python包

大多数Python 包都使用pip 实用工具安装。

$ pip install flask

手动安装pip,安装方法参见pip 的网站: https://pip.pypa.io/en/latest/installing/

文件读取:csv(pandas库),图片(pilllow库),其他(字符串处理)

Pandas库使用

Pandas_示例

Numpy库使用

Numpy数据操作:基本操作(dtype,reshape,transpose),数据切分(下标访问,random.sample等等)

Numpy_示例

Python教学

课次 日期 内容 关键词/概述
第0课 2019-06-24 建立微信群
第1天 2019-07-01 上午 课程介绍 实验环境 \Git\Jupyter notebook\
第2天 2019-07-02 上午 [Strings][Numbers][Lists][Dictionaries]
第3天 2019-07-03 上午 [Conditionals][For loops][Functions][Classes]
第4天 2019-07-04 上午 [File I\O][Exceptions] [Modules and packages]
第5天 2019-07-05 上午 Data structures: Sort
第6天 2019-07-08 上午 Data structures: Tree
第7天 2019-07-09 上午 Data structures: Graph
第8天 2019-07-10 上午 OOP - inheritanceOOP - Abstract Base Classes

参考书

  1. Stanford U., CS231n, http://cs231n.github.io/python-numpy-tutorial/.
  2. ICML-2017 TensorFlow workshop, https://github.com/random-forests/tensorflow-workshop/.
  3. Lutz, Mark. Learning python. " O'Reilly Media, Inc.", 2013.