@@ -129,7 +129,7 @@ return pyCall('numpy.random', 'randint', high: 9, low: 6);
|
||||
// 本地执行以下脚本
|
||||
pyRun("a=math.pi"); // 此处会报错因为没有 import math
|
||||
return pyError();
|
||||
// 返回: name 'math' is not defined
|
||||
// 输出: name 'math' is not defined
|
||||
```
|
||||
|
||||
## `rEval(eval_string, code)`
|
||||
|
||||
Reference in New Issue
Block a user