File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change 9
9
<p >
10
10
RustPython is a Python interpreter written in Rust. This demo is
11
11
compiled from Rust to WebAssembly so it runs in the browser.<br >
12
- Please input your Python code below and click <kbd >Run</kbd >
12
+ Input your Python code below and click <kbd >Run</kbd >
13
13
(or <kbd >Ctrl+Enter</kbd >), or you can open up your
14
- browser's devtools and play with <code >rp.pyEval('print("a") ')</code >
14
+ browser's devtools and play with <code >rp.pyEval('1 + 1 ')</code >
15
15
</p >
16
16
<div id =" code-wrapper" >
17
17
<textarea id =" code" >
31
31
<textarea id =" console" readonly >Loading...</textarea >
32
32
33
33
<h3 >Interactive shell</h3 >
34
- <div id =" terminal" ></div >
34
+ <div id =" terminal" ></div >
35
35
36
- <p >Here's some info regarding the <code >rp.pyEval()</code > function</p >
36
+ <p >
37
+ Here's some info regarding the <code >rp.pyEval()</code >,
38
+ <code >rp.pyExec()</code >, and <code >rp.pyExecSingle()</code >
39
+ functions
40
+ </p >
37
41
<ul >
38
42
<li >
39
43
You can return variables from python and get them returned to
You can’t perform that action at this time.
0 commit comments