mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-15 17:02:53 +08:00
Update 3.PikaScript标准开发流程.md
This commit is contained in:
parent
d0dbab911a
commit
c9b4212425
@ -184,6 +184,11 @@ class Multiplier(TinyObj):
|
||||
```
|
||||
到此类接口就编写完成了。我们在main.py中引入Math包,这样Pika预编译器就会去编译Math类包了。
|
||||
|
||||
```
|
||||
# main.py
|
||||
import Math
|
||||
```
|
||||
|
||||
双击运行pika预编译器。
|
||||
|
||||
![image](https://user-images.githubusercontent.com/88232613/131119247-ae25276e-f7c9-49ef-81e1-dbddcaffdf6c.png)
|
||||
@ -192,9 +197,5 @@ class Multiplier(TinyObj):
|
||||
|
||||
![image](https://user-images.githubusercontent.com/88232613/131119310-99564d6a-d570-4375-9c01-c2d7cde74655.png)
|
||||
|
||||
```
|
||||
# main.py
|
||||
import Math
|
||||
```
|
||||
|
||||
### c)编写
|
||||
|
Loading…
x
Reference in New Issue
Block a user