File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed
Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 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
1113pip install brython
@@ -18,6 +20,7 @@ pip install brython
1820``` bash
1921python -m http.server
2022```
23+
2124You can always stop the server by using `` CTRL+C `` .
2225
2326### 2. Navigate to [ http://localhost:8000/ ] ( http://localhost:8000/ )
Original file line number Diff line number Diff line change 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 >
Original file line number Diff line number Diff line change 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 ">
You can’t perform that action at this time.
0 commit comments