Skip to content

Commit

Permalink
updated:final version
Browse files Browse the repository at this point in the history
  • Loading branch information
Nagi-ovo committed Jul 31, 2023
1 parent 4637ea6 commit 98ed069
Show file tree
Hide file tree
Showing 21 changed files with 289 additions and 259 deletions.
168 changes: 0 additions & 168 deletions docs/Git教学.md

This file was deleted.

13 changes: 13 additions & 0 deletions docs/To be continued.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# 未完待续

本次活动其实已经结束了,我们在新手村大门口告别,剩下的路只能靠你们自己走了。

但是路上你会不断接触到新的、优秀的人事物,有他们同行你大可以放心大步向前。

不过走前,我把三个锦囊塞到了你的手里:

- [锦囊 1](https://csdiy.wiki/):想离开新手村,踏上属于你的旅程时开启。
- [锦囊 2](https://github.com/Open-BJUT/BJUT-Helper):请你遇到期末考试时开启。
- [锦囊 3](https://survivesjtu.gitbook.io/survivesjtumanual/):在你怀疑自己和教育环境时开启。

> 宇宙很大,生活更大,乐在其中,活出精彩。
Binary file added docs/images/cd.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/cloneGitHub.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/clonedFile.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/commit.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/createFile.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/final.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/gitAdd.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/gitClone.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/openTerminal.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/previewExhibition.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/previewOn.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/terminal.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/test.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 9 additions & 3 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,19 @@
# 引子:浅谈学习观

先简单介绍一下在工大前两年的**学习生活模板**
> Good learning is inherently pleasurable, and without pleasure there is no good learning.
>
> ——Pleasure of learning - SuperMemo Guru
大一的专业课是 **C 语言**,是一门面向过程编程语言(本文会尽量少列出这样的专业词汇,简单了解即可),你们会跟着老师抠一学期的基础语法,最后在纸上考试。下学期是 C 语言程序设计,你们会在老师的带领下,用臃肿的代码和逻辑完成一份课设(一般是做个非常朴素的小游戏)。但大二又会有“数据结构与算法”这门专业课,其中的**指针和内存分配**根本没有被当做教育重点,又何谈结构呢?当然,**把题背熟**了期末考试肯定分不低,但最后的最后你又**学会了什么?**
「好的学习」是天然令人快乐的(Good learning is inherently pleasurable),而且没有快乐,就不是好的学习。

简单介绍一下在工大前两年的**学习生活模板**

> 大一的专业课是 **C 语言**,是一门面向过程编程语言(本文会尽量少列出这样的专业词汇,简单了解即可),你们会跟着老师抠一学期的基础语法,最后在纸上考试。下学期是 C 语言程序设计,你们会在老师的带领下,用臃肿的代码和逻辑完成一份课设(一般是做个非常朴素的小游戏)。但大二又会有“数据结构与算法”这门专业课,其中的**指针和内存分配**根本没有被当做教育重点,又何谈结构呢?当然,**把题背熟**了期末考试肯定分不低,但最后的最后你又**学会了什么?**
对于刚入门的小白来说,学习编程之路必定坎坷,很多人刚迈步就选择了放弃。但我想说的是,编程它**其实真的不难**,而合适的引导会减轻这种“我怎么就是学不会编程”的痛苦。

废话不多说了,我的建议是从“**底层**”入手。

但这跟很多人所说的:啃专业书籍、从汇编语言(最接近底层的语言)起步、扎入官方文档不同——这些都有难度,都有可能打消你的学习劲头。而我觉得我们必须承认一件事:不是所有人都天生对电脑和编程感兴趣。抛开最底层的兴趣需要不弹,又怎能做到初期遇到局部困难时不放弃而坚持解决呢?
但这跟很多人所说的:啃专业书籍、从汇编语言(最接近底层的语言)起步、扎入官方文档不同——这些都有难度,都有可能打消你的学习劲头。而我觉得我们必须承认一件事:不是所有人都天生对电脑和编程感兴趣。抛开**最底层的兴趣**需要不谈,又怎能做到初期遇到局部困难时不放弃而坚持解决呢?

所以**兴趣,兴趣,兴趣**,重要的事情说三遍,本项目旨在让你养成对编程,对计算机的兴趣,在这个过程中,你会逐渐<del>克服 12 年普鲁士工厂教育体制带来的思想枷锁,</del>形成对**真正的学习**的热爱。
74 changes: 74 additions & 0 deletions docs/jupyter tutorial.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
> 1. 下载 Anaconda
> 2. 安装并配置 Anaconda
> 3. 启动 Jupyter Notebook
> 4. 在 VS Code 中安装 Python 和 Jupyter 扩展
> 5. 创建并运行一个 Jupyter Notebook
> 后记
本篇教学由 <u>**ChatGPT 4.0** </u>生成,不保证流程完整,缺失的部分请<,锻炼自己的学习能力,这也是考验你们自学和信息辨别能力的第一个挑战。**自行查找信息并解决!**,锻炼自己的学习能力,这也是<u>考验你们自学和信息辨别能力的第一个挑战</u>。

### 如何下载 Anaconda 并运行 Jupyter Notebook

欢迎,未来的数据科学家!你将开始一段充满探索与学习的旅程。

首先,让我们迈出第一步:下载 Anaconda 并运行 Jupyter Notebook。

#### 第一步:下载 Anaconda

1. 打开你的浏览器,让我们跳入数字海洋,浏览到 [Anaconda 的官方下载页面](https://www.anaconda.com/products/distribution#download-section)。你将看到不同操作系统的版本选择,有 Windows, MacOS, 和 Linux。
2. 根据你的电脑操作系统选择相应的版本。如果你不确定电脑是 32 位还是 64 位,那就选择 64 位,因为现代电脑大多都是 64 位的。
3. 点击下载,你的电脑将开始下载 Anaconda 安装包。它可能有几百兆大小,所以耐心等待一会儿吧。下载的这段时间,你可以趁机享用一杯咖啡,或是看一下窗外的风景。

#### 第二步:安装 Anaconda

1. 找到你下载的 Anaconda 安装包,双击启动安装。这个安装包就像一扇大门,通向知识的宝库。
2. 在安装过程中,最好选择“为我安装”,然后点击“下一步”。在安装路径选择时,可以选择默认路径,或者自己设置一个容易找到的位置。
3. 当你看到选项“将 Anaconda 添加到我的 PATH 环境变量”,尽管它推荐你不要勾选,但我建议你勾选它,以便我们在任何地方都能启动 Anaconda 和 Jupyter notebook。
4. 安装完成后,你可以点击“完成”或“下一步”,以结束安装过程。

#### 第三步:启动 Jupyter Notebook

1. 现在,打开你的电脑命令行(Windows 下的 CMD,Mac 和 Linux 下的 Terminal),在闪烁的光标处输入"jupyter notebook",然后按回车键。
2. 这个动作就像魔法一样,你的默认网页浏览器会自动打开一个新的标签页,欢迎你来到 Jupyter notebook 的世界!
3. 在这个新的标签页中,你可以看到你电脑上的各个文件夹。找到一个你喜欢的地方,点击右上角的“New”按钮,然后在下拉菜单中选择“Python 3”,你的第一个 Notebook 就诞生了!

现在,你已经成功地安装了 Anaconda,并且启动了 Jupyter Notebook!从现在开始,你就可以在这个美妙的环境中编写 Python 代码,探索数据科学的无穷魅力。祝你学习愉快,探索无限!

#### 第四步:在 VS Code 中安装 Python 和 Jupyter 扩展

1. 启动 VS Code 后,你会看到一个美观的界面,左侧栏上有一系列的图标。找到看起来像四个小方块(也可能说是一个积木)的图标,点击它,这就是扩展商店。
2. 在扩展商店的搜索框中输入“Python”,找到并点击安装微软官方的 Python 扩展。它的图标是一个蓝色的蛇形图案。
3. 同样的方式,再搜索并安装一个名为“Jupyter”的扩展。
4. 再搜索"Code Runner",安装 Code Runner 插件,并点击右下角的齿轮中的 Extention Settings,勾选其中的 Run In Terminal。

![Code Runner配置](./images/Code%20Runner配置.png)

![集成终端](./images/集成终端.png)

#### 第五步:创建并运行一个 Jupyter Notebook

1. 在 VS Code 的左侧栏顶部,你会看到一个文件夹的图标,点击它,然后点击打开文件夹,选择你想要保存 Jupyter Notebook 的文件夹。
2. 然后,点击左上角的文件菜单,选择“新建文件”。在底部的状态栏中,你会看到一个选择语言的区域(可能显示为“纯文本”),点击它,然后在弹出的列表中选择“Jupyter”。
3. 现在,你已经打开了一个新的 Jupyter notebook,你可以开始写 Python 代码了!在需要代码的地方输入你的 Python 代码,然后按 Shift + Enter,就可以运行这段代码看到结果了。

恭喜你,现在你已经在 VS Code 中设置好了 Jupyter Notebook!你可以开始你的 Python 编程和数据分析之旅了。VS Code 具有强大的代码提示,调试和版本控制功能,我相信你会喜欢在这个环境中工作的。祝你学习愉快!

#### 后记:

Jupyter 是一个非常流行的开源项目,它提供了一个交互式计算环境,让您能够在网页浏览器中创建和分享包含代码、文本、图像、公式和可视化的文档。它的名字取自三种核心编程语言:Julia、Python 和 R(即 Ju-Pyt-e-R)。

主要特点:

1. **交互性**:您可以在浏览器中逐个代码单元(称为单元格)地运行代码,即时查看结果。这种实时反馈非常适合学习、调试和数据探索。

2. **支持多种编程语言**:虽然 Jupyter 最初是为 Python 设计的,但现在它支持超过 100 种编程语言,这使得您能够在同一个环境中使用您喜欢的语言。

3. **交互性文档**:Jupyter 文档被称为“笔记本”(Notebooks),它们既可以包含代码和输出,又可以包含富文本、数学公式、图表和可视化。这使得 Jupyter 成为交互式数据分析和展示的绝佳工具。

4. **易于分享**:您可以轻松地分享您的 Jupyter 笔记本,无论是通过导出为 HTML、PDF 或通过在线共享服务(例如 GitHub、Google Colab 或 Jupyter Notebook Viewer)。

5. **广泛应用**:Jupyter 可以用于数据清理、数据分析、机器学习、科学计算、教学和其他许多领域。

请注意,Jupyter Notebook 并不是唯一的 Jupyter 项目。Jupyter 生态系统还包括 Jupyter Lab,它提供了更灵活的界面和功能,以及 JupyterHub,用于在服务器上部署 Jupyter 环境。

希望这个简介能让您对 Jupyter 有一个初步的了解。祝您在使用 Jupyter 进行编程和数据分析时取得愉快的体验!
Loading

0 comments on commit 98ed069

Please sign in to comment.