Skip to content

Commit 406c458

Browse files
committed
Update the Brython tutorial
1 parent 186bd1a commit 406c458

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

integrations/brython/ReadMe.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@
33
* Brython was designed for replacing JavaScript with Python.
44
* This tutorial will show you how to get started quickly.
55

6-
### 0. Install ``brython``:
6+
### Here's the web app you'll be creating:
7+
8+
<img src="https://seleniumbase.io/cdn/img/brython_demo.png" alt="Brython Demo" title="Brython Demo" width="410" />
79

8-
<i>(Note: SeleniumBase no longer includes ``brython`` as part of installed dependencies.)</i>
10+
### 0. Install ``brython``:
911

1012
```bash
1113
pip install brython
@@ -18,6 +20,7 @@ pip install brython
1820
```bash
1921
python -m http.server
2022
```
23+
2124
You can always stop the server by using ``CTRL+C``.
2225

2326
### 2. Navigate to [http://localhost:8000/](http://localhost:8000/)

integrations/brython/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
padding: 8px;
2222
}
2323
</style>
24-
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/brython/3.9.2/brython.js"></script>
24+
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/brython/3.10.4/brython.js"></script>
2525
</head>
2626
<body onload="brython()">
2727
<table>

integrations/brython/library.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
padding: 4px;
2222
}
2323
</style>
24-
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/brython/3.9.2/brython.js"></script>
24+
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/brython/3.10.4/brython.js"></script>
2525
</head>
2626
<body onload="brython(1)">
2727
<script id="ascript" type="text/python">

0 commit comments

Comments
 (0)