Skip to content

Commit e639967

Browse files
committed
excel插件上线,更新在Kittenblock下
1 parent ec6ac38 commit e639967

File tree

11 files changed

+72
-0
lines changed

11 files changed

+72
-0
lines changed

index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
kittenblock/scratchPython3/index
3434
kittenblock/projects/index
3535
kittenblock/advanced/index
36+
kittenblock/extensions/index
3637

3738
.. toctree::
3839
:maxdepth: 1
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading

kittenblock/extensions/excel.md

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
# 数据处理插件在Kittenblock中使用
2+
3+
## 简介
4+
5+
数据处理在科学实验中是很重要的一环,我们不仅仅可以将数据保存在Scratch的列表中,还能借助Kittenblock中的数据处理插件中——excel功能,将数据保存在Excel表格中,让数据保存处理更方便。
6+
7+
8+
9+
## 加载数据处理插件
10+
11+
选择扩展插件按钮
12+
13+
![](Excel插件在Kittenblock中使用方法/01.png)
14+
15+
16+
17+
![](Excel插件在Kittenblock中使用方法/02.png)
18+
19+
20+
21+
插件成功加载
22+
23+
![](Excel插件在Kittenblock中使用方法/03.png)
24+
25+
26+
27+
## 例子1——创建文件写入数据保存
28+
29+
- 新建一张工作表
30+
- 将数据“apple”保存到单元格A1中
31+
- 保存excel文件(路径自定义)
32+
33+
![](Excel插件在Kittenblock中使用方法/06.png)
34+
35+
36+
37+
## 实验结果
38+
39+
在C:\Users\MI\Documents路径下,可发现由Kittenblock创建的excel文件
40+
41+
![](Excel插件在Kittenblock中使用方法/04.png)
42+
43+
44+
45+
双击打开,表格内容如下,可以发现,数据已经写入到对应的单元格中。
46+
47+
![](Excel插件在Kittenblock中使用方法/05.png)
48+
49+
50+
51+
## 例子2——打开现有文件读取单元格数据
52+
53+
“打开Excel”中粘贴你的excel文档的路径
54+
55+
56+
57+
点击积木块,小喵就会读出excel中的单元格中的值
58+
59+
![](Excel插件在Kittenblock中使用方法/08.png)
60+

kittenblock/extensions/index.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
Kittenblock插件
2+
====================
3+
4+
这一部分是除人工智能&IOT以外的插件
5+
6+
7+
.. toctree::
8+
:maxdepth: 1
9+
:glob:
10+
11+
excel

0 commit comments

Comments
 (0)