Skip to content

Commit

Permalink
Create index.htm
Browse files Browse the repository at this point in the history
  • Loading branch information
findersjeepers authored Mar 5, 2024
1 parent 2fbfe1c commit dcd425f
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions index.htm
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<html>

<head>
<meta charset="utf-8">
<script type="text/javascript"
src="https://cdn.jsdelivr.net/npm/[email protected]/brython.min.js">
</script>
<script type="text/javascript"
src="https://cdn.jsdelivr.net/npm/[email protected]/brython_stdlib.js">
</script>
</head>

<body onload=brython({"debug":1}) ><!-- remove the 1 to leave debug mode -->
<noscript>Please enable Javascript to view this page correctly</noscript>

<div id="code" class="codearea" style="border-style: double; max-width: 900px; min-height: 400px;" contenteditable></div>

<div id="content"></div>

<script type="text/python3">
from interpreter import Interpreter

# Start an interactive interpreter in textarea with id "code"
Interpreter("code")
</script>

</body>

</html>

0 comments on commit dcd425f

Please sign in to comment.