SeleniumBase/integrations/brython
Michael Mintz 406c458ff4 Update the Brython tutorial 2022-01-05 12:16:27 -05:00
..
ReadMe.md Update the Brython tutorial 2022-01-05 12:16:27 -05:00
index.html Update the Brython tutorial 2022-01-05 12:16:27 -05:00
index.py Perform code optimization 2021-05-08 14:10:45 -04:00
library.html Update the Brython tutorial 2022-01-05 12:16:27 -05:00

ReadMe.md

Getting Started with Brython

  • Brython was designed for replacing JavaScript with Python.
  • This tutorial will show you how to get started quickly.

Here's the web app you'll be creating:

Brython Demo

0. Install brython:

pip install brython

1. Get a web server up and running:

Run from SeleniumBase/integrations/brython:

python -m http.server

You can always stop the server by using CTRL+C.

2. Navigate to http://localhost:8000/

Now click on the examples to see Brython in action.

3. For more info, see the following: