diff --git a/.vitepress/config.ts b/.vitepress/config.ts index 8a7f18e..b05614b 100644 --- a/.vitepress/config.ts +++ b/.vitepress/config.ts @@ -22,28 +22,34 @@ export default defineConfig({ externalLinkIcon: true, nav: [ { text: "首页", link: "/" }, - { text: "基础知识", link: "/python/00/index.md" }, + { text: "基础知识", link: "/basic/00/index.md" }, { text: "数据分析", link: "/data-analysis/index.md" }, { text: "网络爬虫", link: "/crawler/index.md" }, { text: "计算机速成课", link: "/crash-course/00/index.md" }, ], sidebar: { - "/python": [ + "/basic": [ { text: "使用说明", items: [ - { text: "本网站", link: "/python/00/index.md" }, - { text: "自测猫", link: "/python/00/code.md" }, - { text: "判题狗", link: "/python/00/oj.md" }, - { text: "练习册", link: "/python/00/play.md" }, + { text: "本网站", link: "/basic/00/index.md" }, + { text: "自测猫", link: "/basic/00/code.md" }, + { text: "判题狗", link: "/basic/00/oj.md" }, + { text: "练习册", link: "/basic/00/play.md" }, ], }, { text: "编程技巧", items: [ - { text: "Python 小抄", link: "/python/01/cheatsheet.md" }, - { text: "看懂报错信息", link: "/python/01/error-message.md" }, - { text: "使用 AI", link: "/python/01/chatgpt.md" }, + { text: "Python 小抄", link: "/basic/01/cheatsheet.md" }, + { text: "看懂报错信息", link: "/basic/01/error-message.md" }, + { text: "使用 AI", link: "/basic/01/chatgpt.md" }, + ], + }, + { + text: "无用的冷知识", + items: [ + { text: "中文编程语言介绍", link: "/basic/02/chinese-program-language.md" }, ], }, ], diff --git a/python/00/assets/book.png b/basic/00/assets/book.png similarity index 100% rename from python/00/assets/book.png rename to basic/00/assets/book.png diff --git a/python/00/assets/book2.png b/basic/00/assets/book2.png similarity index 100% rename from python/00/assets/book2.png rename to basic/00/assets/book2.png diff --git a/python/00/assets/cat.png b/basic/00/assets/cat.png similarity index 100% rename from python/00/assets/cat.png rename to basic/00/assets/cat.png diff --git a/python/00/assets/oj.png b/basic/00/assets/oj.png similarity index 100% rename from python/00/assets/oj.png rename to basic/00/assets/oj.png diff --git a/python/00/assets/play.png b/basic/00/assets/play.png similarity index 100% rename from python/00/assets/play.png rename to basic/00/assets/play.png diff --git a/python/00/code.md b/basic/00/code.md similarity index 98% rename from python/00/code.md rename to basic/00/code.md index 9b98256..77745d3 100644 --- a/python/00/code.md +++ b/basic/00/code.md @@ -1,15 +1,15 @@ -# 自测猫的使用说明 - -![](./assets/cat.png) - -自测猫 [https://code.xuyue.cc](https://code.xuyue.cc) 是一个代码在线运行的网站,省去在本地搭建编程环境的过程,平时运行简单的代码片段够用了。(为什么叫自测猫,因为是**自**行**测**试代码的机器**猫** - -在左边写代码,当遇到要输入的情况时,在右侧上方的输入框中先写好你要输入的内容,再点击右上角绿色的运行(或者快捷键 F5),运行结果就会出现在下面。 - -因为适配了移动端,用手机打开,一些功能我给移到其他地方了,并且新增了**编程助手**,方便关键字和符号的输入: - -![](./assets/book2.png) - -希望不要给我找没有电脑的借口了,你有手机就可以写代码了(也许吧 - +# 自测猫的使用说明 + +![](./assets/cat.png) + +自测猫 [https://code.xuyue.cc](https://code.xuyue.cc) 是一个代码在线运行的网站,省去在本地搭建编程环境的过程,平时运行简单的代码片段够用了。(为什么叫自测猫,因为是**自**行**测**试代码的机器**猫** + +在左边写代码,当遇到要输入的情况时,在右侧上方的输入框中先写好你要输入的内容,再点击右上角绿色的运行(或者快捷键 F5),运行结果就会出现在下面。 + +因为适配了移动端,用手机打开,一些功能我给移到其他地方了,并且新增了**编程助手**,方便关键字和符号的输入: + +![](./assets/book2.png) + +希望不要给我找没有电脑的借口了,你有手机就可以写代码了(也许吧 + 对了,自测猫支持**实时保存**,不小心关掉页面,你写的代码也不会丢失。 \ No newline at end of file diff --git a/python/00/index.md b/basic/00/index.md similarity index 100% rename from python/00/index.md rename to basic/00/index.md diff --git a/python/00/oj.md b/basic/00/oj.md similarity index 97% rename from python/00/oj.md rename to basic/00/oj.md index 767a557..6851751 100644 --- a/python/00/oj.md +++ b/basic/00/oj.md @@ -1,7 +1,7 @@ -# 判题狗的使用说明 - -![](./assets/oj.png) - -判题狗 [https://oj.xuyue.cc](https://oj.xuyue.cc) 是一个在线评测平台(Online Judge),由练习、比赛、排名等组成,真实反映你用代码解决问题的能力。 - +# 判题狗的使用说明 + +![](./assets/oj.png) + +判题狗 [https://oj.xuyue.cc](https://oj.xuyue.cc) 是一个在线评测平台(Online Judge),由练习、比赛、排名等组成,真实反映你用代码解决问题的能力。 + 【未完待续。。。】 \ No newline at end of file diff --git a/basic/00/play.md b/basic/00/play.md new file mode 100644 index 0000000..e9df2d5 --- /dev/null +++ b/basic/00/play.md @@ -0,0 +1,7 @@ +# 练习册的使用说明 + +![](./assets/play.png) + +练习册 [https://play.xuyue.cc](https://play.xuyue.cc) 单纯用于检测你是否掌握代码格式,本身这个网站也比较简单,半个小时就可以通关(关键是我比较懒,没有几道题 + +这个网站是我在教师培训时候无聊做的,功能不多,之后有空升级成自主刷题网站(也许吧 \ No newline at end of file diff --git a/python/01/chatgpt.md b/basic/01/chatgpt.md similarity index 100% rename from python/01/chatgpt.md rename to basic/01/chatgpt.md diff --git a/python/01/cheatsheet.md b/basic/01/cheatsheet.md similarity index 100% rename from python/01/cheatsheet.md rename to basic/01/cheatsheet.md diff --git a/python/01/error-message.md b/basic/01/error-message.md similarity index 100% rename from python/01/error-message.md rename to basic/01/error-message.md diff --git a/basic/02/chinese-program-language.md b/basic/02/chinese-program-language.md new file mode 100644 index 0000000..c505ad8 --- /dev/null +++ b/basic/02/chinese-program-language.md @@ -0,0 +1,33 @@ +# 中文编程语言介绍 +很多学生都说自己英文不好,所以学不会编程。但是有没有想过世界上有很多中文编程语言呢,下面是我知道的一些中文编程语言(或者是其他语言魔改),我们来一起看看吧。 + +## 熊猫编辑器 + +[熊猫编辑器](https://cxfjh.github.io/) ,语法是 Python 的语法,但全都是用中文来写的。 + +![alt text](image-3.png) + +有兴趣的可以从网盘下载并安装使用 [下载链接](https://www.123pan.com/s/IzrNjv-cAd7A) + +## 炫语言 + +[炫语言中文编程](http://xc.xcgui.com/) + +![alt text](image-2.png) + +这个也是中文编程,可以做界面,但是好像要收钱。。。 + +## 文言 + +[文言](https://wy-lang.org/) 是一个文言文的编程语言,代码风格长这样: + +![alt text](image.png) + +上面代码翻译过来就是:把 問天地好在。循环三遍 + +![alt text](image-1.png) + + +这个 [网站](https://ide.wy-lang.org/) 有很多例子,但是阅读起来贼难受。 + +如果古人写代码,就是这样啊~ \ No newline at end of file diff --git a/basic/02/image-1.png b/basic/02/image-1.png new file mode 100644 index 0000000..8577610 Binary files /dev/null and b/basic/02/image-1.png differ diff --git a/basic/02/image-2.png b/basic/02/image-2.png new file mode 100644 index 0000000..9debef7 Binary files /dev/null and b/basic/02/image-2.png differ diff --git a/basic/02/image-3.png b/basic/02/image-3.png new file mode 100644 index 0000000..ce3989e Binary files /dev/null and b/basic/02/image-3.png differ diff --git a/basic/02/image.png b/basic/02/image.png new file mode 100644 index 0000000..44750fc Binary files /dev/null and b/basic/02/image.png differ diff --git a/index.md b/index.md index 34ac243..56e7b9d 100644 --- a/index.md +++ b/index.md @@ -7,10 +7,10 @@ hero: tagline: "用最简单的话讲清楚编程" actions: - theme: brand - text: Python 基础知识 - link: /python/00/ + text: 编程基础 + link: /basic/00/ - theme: alt - text: 计算机科学速成 + text: 计算机速成 link: /crash-course/00/ features: @@ -19,7 +19,7 @@ features: - title: 简单易懂 details: 图文并茂、简单明了 - title: 横向扩展 - details: 多了很多课上和书里没有的 + details: 有很多课上和书里没有的 - title: 轻轻松松 details: 按心情随时更新 --- diff --git a/python/00/play.md b/python/00/play.md deleted file mode 100644 index 34f1d0d..0000000 --- a/python/00/play.md +++ /dev/null @@ -1,7 +0,0 @@ -# 练习册的使用说明 - -![](./assets/play.png) - -练习册 [https://play.xuyue.cc/](https://play.xuyue.cc/) 单纯用于检测你是否掌握代码格式,本身这个网站也比较简单,半个小时就可以通关(关键是我比较懒,没有几道题 - -这个网站是我在教师培训时候无聊做的,功能不多,之后有空升级成自主刷题网站(也许吧 \ No newline at end of file