This commit is contained in:
2024-10-04 22:55:20 +08:00
parent da1c38c11c
commit b1bd3eb403
17 changed files with 66 additions and 17 deletions

BIN
python/00/assets/book.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 125 KiB

BIN
python/00/assets/book2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

BIN
python/00/assets/cat.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 100 KiB

BIN
python/00/assets/oj.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 309 KiB

BIN
python/00/assets/play.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

View File

@@ -1 +0,0 @@
# 编程规范

15
python/00/code.md Normal file
View File

@@ -0,0 +1,15 @@
# 自测猫的使用说明
![](./assets/cat.png)
自测猫 [https://code.xuyue.cc](https://code.xuyue.cc) 是一个代码在线运行的网站,省去在本地搭建编程环境的过程,平时运行简单的代码片段够用了。(为什么叫自测猫,因为是**自**行**测**试代码的机器**猫**
在左边写代码,当遇到要输入的情况时,在右侧上方的输入框中先写好你要输入的内容,再点击右上角绿色的运行(或者快捷键 F5运行结果就会出现在下面。
因为适配了移动端,用手机打开,一些功能我给移到其他地方了,并且新增了**编程助手**,方便关键字和符号的输入:
![](./assets/book2.png)
希望不要给我找没有电脑的借口了,你有手机就可以写代码了(也许吧
对了,自测猫支持**实时保存**,不小心关掉页面,你写的代码也不会丢失。

View File

View File

@@ -1,19 +1,27 @@
# 如何学习这个课程
# 本网站的使用说明
::: tip
下面的代码区域可以进行编辑并运行
:::
![](./assets/book.png)
本网站 [https://book.xuyue.cc](https://book.xuyue.cc) 是一本编程书,其中包含了编程语言、应用领域、计算机科学等相关内容。
本网站支持代码互动,比如下面的代码区,在输入框输入**黄岩一职**,点击运行,会显示欢迎光临:
<script lang="ts" setup>
const code = `
n=input()
if n == "黄岩一职":
a=input()
if a == "黄岩一职":
print("欢迎光临")
`
</script>
<editor :code="code" />
当然普通的、不互动的代码块也有,一般用于演示:
```python
print(123)
print("欢迎光临")
```
我大部分的有图文的内容都会放在飞书知识库中,由于学校机房孱弱的机器性能,这个网站仅是一些必要的文字,以满足上课时候的需求。
一般来说,这个网站的内容会以链接的形式放到我的其他网站上去,能直接翻看这个网站的人算是少数吧(笑

7
python/00/oj.md Normal file
View File

@@ -0,0 +1,7 @@
# 判题狗的使用说明
![](./assets/oj.png)
判题狗 [https://oj.xuyue.cc](https://oj.xuyue.cc) 是一个在线评测平台Online Judge由练习、比赛、排名等组成真实反映你用代码解决问题的能力。
【未完待续。。。】

7
python/00/play.md Normal file
View File

@@ -0,0 +1,7 @@
# 练习册的使用说明
![](./assets/play.png)
练习册 [https://play.xuyue.cc/](https://play.xuyue.cc/) 单纯用于检测你是否掌握代码格式,本身这个网站也比较简单,半个小时就可以通关(关键是我比较懒,没有几道题
这个网站是我在教师培训时候无聊做的,功能不多,之后有空升级成自主刷题网站(也许吧

1
python/01/chatgpt.md Normal file
View File

@@ -0,0 +1 @@
# 如何利用 AI 帮助学习编程

1
python/01/cheatsheet.md Normal file
View File

@@ -0,0 +1 @@
# Python 小抄

View File

@@ -0,0 +1 @@
# 看懂报错信息