You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: wasm/notebook/snippets/python-js-css/main.txt
+7-5
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,9 @@
3
3
# RustPython Notebook: python, javascript, css, markdown and math
4
4
5
5
6
-
Python in the browser is fun. Python and Javascript working together is double the fun 😜. Markdown and math are good for communicating ideas 🤔 (especially scientific ones). Adding css to the mix, makes everything look pretty ✨.
6
+
Python in the browser is fun. Python and Javascript working together is double
7
+
the fun 😜. Markdown and math are good for communicating ideas 🤔 (especially
8
+
scientific ones). Adding css to the mix, makes everything look pretty ✨.
7
9
8
10
---
9
11
@@ -34,9 +36,9 @@ create_ui();
34
36
# Python code
35
37
36
38
def runModel():
37
-
input = js_vars['data']
38
-
print ("<br>")
39
-
print("A little javascript birdie told the python snake your lucky number 🙊")
40
-
print ("Now the everyone knows that it is: " + str(input))
39
+
input = js_vars['data']
40
+
print ("<br>")
41
+
print("A little javascript birdie told the python snake your lucky number 🙊")
42
+
print ("Now the everyone knows that it is: " + str(input))
Copy file name to clipboardExpand all lines: wasm/notebook/snippets/python-js.txt
+19-21
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,9 @@
2
2
3
3
# RustPython Notebook: python, javascript, css, markdown and math
4
4
5
-
Python in the browser is fun 🤘. Python and Javascript working together is double the fun 😜. Markdown and math are good for communicating ideas 💡(especially scientific ones 🧠). Adding css to the mix, makes everything look pretty ✨.
5
+
Python in the browser is fun 🤘. Python and Javascript working together is double
6
+
the fun 😜. Markdown and math are good for communicating ideas 💡(especially
7
+
scientific ones 🧠). Adding css to the mix, makes everything look pretty ✨.
6
8
7
9
# Main
8
10
@@ -13,7 +15,8 @@ In the notebook, you can write markdown, math, javascript and python.
0 commit comments