We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5803a7 commit d1554f4Copy full SHA for d1554f4
code_editor.html
@@ -11,9 +11,11 @@
11
<body onload="brython()">
12
<div id="editor">
13
<textarea id="python-code" placeholder="Write your Python code here..."></textarea>
14
- <button id="run-button">
15
- <span class="run-icon">►</span> Run Code
16
- </button>
+ <span><button id="run-button">
+ <span class="run-icon">►</span> Run Code
+ </button></span>
17
+ <button class="button" onclick="saveText()">Save</button>
18
+ <button class="button" onclick="importText()">Import</button>
19
</div>
20
21
<script type="text/python">
@@ -26,5 +28,6 @@
26
28
print("Error: " + str(e))
27
29
document["run-button"].bind("click", run_python)
30
</script>
31
+ <script src="main.js"></script>
32
</body>
33
</html>
0 commit comments