From e01e7116cade561c1d7368986f4220b3eb30438f Mon Sep 17 00:00:00 2001 From: coolreader18 <33094578+coolreader18@users.noreply.github.com> Date: Thu, 9 Jan 2020 20:34:46 -0600 Subject: [PATCH] Add the other rp.py* functions to the mini-doc --- wasm/demo/src/index.ejs | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/wasm/demo/src/index.ejs b/wasm/demo/src/index.ejs index a2a02d214..314ed7f31 100644 --- a/wasm/demo/src/index.ejs +++ b/wasm/demo/src/index.ejs @@ -9,9 +9,9 @@

RustPython is a Python interpreter written in Rust. This demo is compiled from Rust to WebAssembly so it runs in the browser.
- Please input your Python code below and click Run + Input your Python code below and click Run (or Ctrl+Enter), or you can open up your - browser's devtools and play with rp.pyEval('print("a")') + browser's devtools and play with rp.pyEval('1 + 1')

Interactive shell

-
+
-

Here's some info regarding the rp.pyEval() function

+

+ Here's some info regarding the rp.pyEval(), + rp.pyExec(), and rp.pyExecSingle() + functions +