Skip to content

Commit c2e16c3

Browse files
authored
Update README.md
1 parent c4802d4 commit c2e16c3

File tree

1 file changed

+39
-15
lines changed

1 file changed

+39
-15
lines changed

README.md

Lines changed: 39 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<img height="400" src="https://i.imgur.com/lRDqqVA.png" />
44
</p>
55
<div align="center">
6-
Examples &amp; resources on using Python in the web browser.
6+
Examples &amp; resources on how to use Python in the web browser.
77

88

99
<br>
@@ -20,6 +20,10 @@ Examples &amp; resources on using Python in the web browser.
2020

2121
## Compilers
2222

23+
<details>
24+
<summary>Click to view the list of compilers</summary>
25+
26+
<br>
2327

2428

2529
[cpython-emscripten:](https://github.com/dgym/cpython-emscripten) Python in the browser - CPython compiled with emscripten.
@@ -39,15 +43,17 @@ Examples &amp; resources on using Python in the web browser.
3943

4044
[RapydScript:](https://github.com/atsepkov/RapydScript) transpiler for a Python like language to JavaScript.
4145

42-
[RapydScript-ng:](https://github.com/kovidgoyal/rapydscript-ng) A improved community fork of RapydScript.
46+
[RapydScript-ng:](https://github.com/kovidgoyal/rapydscript-ng) A improved community fork of RapydScript.
47+
48+
</details>
4349

4450

45-
<br><br>
51+
<br>
4652

4753
There are many projects that have focused on using Python into the web browser. Tho some have some differences, this comparision table [Python-in-the-browser technologies](https://stromberg.dnsalias.org/~strombrg/pybrowser/python-browser.html) & the photos below will help you understand some of the differences in some of these projects.
4854
<br>
4955
<details>
50-
<summary>Click to show the photos</summary>
56+
<summary>Click to view the photos</summary>
5157
<br>
5258

5359

@@ -59,41 +65,59 @@ There are many projects that have focused on using Python into the web browser.
5965
</details>
6066

6167

62-
<br><br>
68+
<br>
6369

6470
#### Extra Resource
6571

6672
[PyCon AU 2018: A Web without JavaScript](https://www.youtube.com/watch) A video / talk about using Python in the Web Browser by [@freakboy3742](https://github.com/freakboy3742) (Founder of [BeeWare](https://github.com/beeware) & was a previous president of the [Django Software Foundation](https://www.djangoproject.com/foundation/))
6773

68-
74+
<br>
6975

7076
## Examples
7177

7278

7379
<details>
7480
<summary>Brython Examples</summary>
7581

76-
For more info on how to use Brython visit the [Brython documentation](https://brython.info/static_doc/en/intro.html) page
82+
For more detailed info on how to use Brython visit the [Brython documentation](https://brython.info/static_doc/en/intro.html) page
7783

78-
- **Input Box**
79-
[Source](https://github.com/getbase/base/blob/master/readme.md#documentation),
84+
- **Show Input Value**
85+
[Source](https://github.com/MarketingPipeline/Python-In-The-Browser/blob/main/demos/brython/show_input_value.html),
8086
[Demo](https://github.com/getbase/base)
8187

82-
- **Adding intergers**
83-
[Source](https://github.com/getbase/base/blob/master/readme.md#documentation),
88+
- **Check if Input Is Integer**
89+
[Source](https://github.com/MarketingPipeline/Python-In-The-Browser/blob/main/demos/brython/check_if_interger.html),
8490
[Demo](https://github.com/getbase/base)
8591

86-
- **Input Box**
87-
[Source](https://github.com/getbase/base/blob/master/readme.md#documentation),
92+
- **Adding Integers**
93+
[Source](https://github.com/MarketingPipeline/Python-In-The-Browser/blob/main/demos/brython/adding_intergers.html),
8894
[Demo](https://github.com/getbase/base)
8995

9096
</details>
9197

9298

9399

94100
<details>
95-
<summary>Click to show the list</summary>
96-
<br>
101+
<summary>PyScript Examples</summary>
102+
103+
104+
For more detailed info on how to use PyScript visit the [PyScript documentation](https://github.com/pyscript/pyscript/blob/main/docs/tutorials/getting-started.md) page
105+
106+
- **Show Input Value**
107+
[Source](https://github.com/MarketingPipeline/Python-In-The-Browser/blob/main/demos/PyScript/show_input_value.html),
108+
[Demo](https://github.com/getbase/base)
109+
110+
- **Check if Input Is Integer**
111+
[Source](https://github.com/MarketingPipeline/Python-In-The-Browser/blob/main/demos/PyScript/check_if_interger.html),
112+
[Demo](https://github.com/getbase/base)
113+
114+
- **Adding Integers**
115+
[Source](https://github.com/MarketingPipeline/Python-In-The-Browser/blob/main/demos/PyScript/adding_integers.html),
116+
[Demo](https://github.com/getbase/base)
117+
118+
119+
120+
97121

98122
</details>
99123

0 commit comments

Comments
 (0)