diff --git a/README.md b/README.md new file mode 100644 index 0000000..f66495b --- /dev/null +++ b/README.md @@ -0,0 +1,23 @@ +# PyScript.net Website + +This is the static website hosted at +[https://pyscript.net](https://pyscript.net). It is the homepage for the open +source aspects of the wider PyScript project. + +## Developer setup + +1. Fork, then clone the site locally. +2. Start the site with: `python -m http.server` +3. View the local version of the site at: http://localhost:8000/ +4. Make your changes in a well named branch. +5. Check your work locally. +6. Submit your branch as a PR. + +## PyScript Elsewhere + +The source code for the [documentation](https://docs.pyscript.net/) for +PyScript is found [in this repository](https://github.com/pyscript/docs). + +The source code for [PyScript.com](https://pyscript.com/) (the commercial site +for hosting and developing PyScript applications) is an internal project of +[Anaconda](https://anaconda.com) who sponsor the PyScript project. diff --git a/index.html b/index.html index 3a95ede..7e1d91e 100644 --- a/index.html +++ b/index.html @@ -5,7 +5,7 @@ - PyScript is a platform for Python in the browser. + PyScript is an open source platform for Python in the browser. @@ -32,8 +32,8 @@ gtag('js', new Date()); gtag('config', 'G-LKETQQ110J'); - - + + @@ -43,7 +43,8 @@ @@ -133,29 +134,17 @@

Examples

- - - - + + +
+ +
+
+

Community

+

Connect with other PyScript users.

+
+
+ @@ -224,7 +213,7 @@

PyScript is...

- Project home + Source code
diff --git a/main.py b/main.py index 505cba2..2e210d1 100644 --- a/main.py +++ b/main.py @@ -29,6 +29,7 @@ async def type_it_in(code): ) await asyncio.sleep(wait) python_terminal.terminal.write(char) + python_terminal.terminal.write("\x1b[2K\r>>> ") python_terminal.process(line.strip())