Skip to content

Commit 7cb9c2d

Browse files
committed
2019.7.19 新增 vscode 介绍
1 parent 55e51fe commit 7cb9c2d

7 files changed

Lines changed: 46 additions & 11 deletions

File tree

28.9 KB
Loading
22.6 KB
Loading

python_basic_notebook/imgs/git.png

34.5 KB
Loading
20.1 KB
Loading
27.5 KB
Loading
73.7 KB
Loading

python_basic_notebook/python_basic_lesson_01.ipynb

Lines changed: 46 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"\n",
1515
"### 本章内容要点\n",
1616
"\n",
17-
"* python 简介\n",
17+
"* python 简介 \n",
1818
"* 准备工作\n",
1919
" * 使用标准的 python 和 IDLE\n",
2020
" * anaconda 介绍\n",
@@ -190,16 +190,16 @@
190190
"\n",
191191
"对于初学者,Python 的安装也许并不容易,尤其面临 Python 版本的问题,会浪费很多时间,甚至让人放弃的感觉,anaconda 是一种简便的安装方法,可以完美的兼容 Python 2.7 和 Python 3.x,并集成了许多 packages(第三方包),免去配置环境变量的烦恼,\n",
192192
"\n",
193-
"我们觉得 anaconda的优势如下\n",
193+
"我们觉得 Anaconda 的优势如下\n",
194194
"\n",
195195
"* 集成很多第三方库,省去一一下载的麻烦; \n",
196196
"* conda 除了可以安装第三方库以外,还可以将 Python 环境作为安装内容的一部分,因此一台电脑上配置多个 Python 开发环境非常容易;\n",
197197
"* Pycharm、VSCode 等都直接支持 conda 配置;\n",
198198
"* 自带很多强大工具,最新集成了微软的开发工具,VSCode,并默认安装好了 Python 扩展;\n",
199199
"\n",
200-
"anaconda的下载地址:https://www.continuum.io/downloads \n",
200+
"Anaconda 的下载地址:https://www.continuum.io/downloads \n",
201201
"\n",
202-
"anaconda 安装过程大致如下:\n",
202+
"Anaconda 安装过程大致如下:\n",
203203
"\n",
204204
"---\n",
205205
"\n",
@@ -209,11 +209,11 @@
209209
"\n",
210210
"Jupyter Notebook(此前被称为 IPython notebook)是一个交互式笔记本,支持运行 40 多种编程语言。在这里我们将介绍 Jupyter notebook 的主要特性,以及为什么对于希望编写漂亮的交互式文档的人来说是一个强大工具。\n",
211211
"\n",
212-
"如果安装了 anaconda,只要执行`jupyter notebook` 就可以启动了 jupyter 的服务端。或者启动 anaconda-navigator 这个图形化导航工具,来执行 Jupyter\n",
212+
"如果安装了 anaconda,只要执行 `jupyter notebook` 就可以启动了 jupyter 的服务端。或者启动 anaconda-navigator 这个图形化导航工具,来执行 Jupyter\n",
213213
"\n",
214214
"如果没有安装 anaconda,可以执行 `pip install jupyter` ,来安装 jupyter,其实它也是 python 的一个第三方扩展包。\n",
215215
"\n",
216-
"我们的整个教学实践都会在 Jupyter 环境下进行,因此各位会渐渐熟悉起来。"
216+
"我们的整个教学实践都会在 Jupyter 环境下进行,因此各位会渐渐熟悉起来。\n"
217217
]
218218
},
219219
{
@@ -234,11 +234,46 @@
234234
]
235235
},
236236
{
237-
"cell_type": "code",
238-
"execution_count": null,
239-
"metadata": {},
240-
"outputs": [],
241-
"source": []
237+
"cell_type": "markdown",
238+
"metadata": {
239+
"pycharm": {
240+
"name": "#%% md\n"
241+
}
242+
},
243+
"source": [
244+
"Visual Studio Code 是微软推出的跨平台编辑器。它采用经典的VS的UI布局,功能强大,扩展性很强。\n",
245+
"智能代码提示和自动补全(Intelligent Code Completion)\n",
246+
"![](imgs/intellisense.png)\n",
247+
"\n",
248+
"更聪明的代码智能感知 -完备的变量,方法和导入模块。\n",
249+
"\n",
250+
"\n",
251+
"简化调试过程(Streamlined Debugging)\n",
252+
"![](imgs/debug.png)\n",
253+
"打印 Debug 结果是曾经做的事。在 VSCODE 中将用终端工具进行调试。\n",
254+
"\n",
255+
"\n",
256+
"快速,强大的编辑能力(Fast, Powerful Editing)\n",
257+
"![](imgs/errors.png)\n",
258+
"静态源代码检查,多光标编辑,参数提示,以及其他强大的编辑功能。\n",
259+
"\n",
260+
"\n",
261+
"代码导航和重构(Code Navigation and Refactoring)\n",
262+
"![](imgs/peek.png)\n",
263+
"\n",
264+
"快速浏览你的源代码使用 peek 并导航至定义。\n",
265+
"\n",
266+
"\n",
267+
"对于产品的Git支持(In-Product Git Support)\n",
268+
"![](imgs/git.png)\n",
269+
"在您的编辑器中加入对 Git 的支持以加快您的研发效率。\n",
270+
"\n",
271+
"\n",
272+
"使用参考\n",
273+
"https://jeasonstudio.gitbooks.io/vscode-cn-doc/content/\n",
274+
"\n",
275+
"\n"
276+
]
242277
},
243278
{
244279
"cell_type": "markdown",

0 commit comments

Comments
 (0)