mirror of
https://github.com/pyscript/pyscript.git
synced 2025-12-19 10:17:23 -05:00
lay down the features page sections
This commit is contained in:
@@ -1 +1 @@
|
||||
# Features
|
||||
# Advanced User Guide
|
||||
|
||||
@@ -1 +1,38 @@
|
||||
# What is PyScript - Features
|
||||
|
||||
PyScript is a software platform that combines the power of the web with the power and simplicity
|
||||
of the most popular programming language in the world to provide an ecosystem that let users create
|
||||
and distribute applications in seconds, while having fun.
|
||||
|
||||
|
||||
## How does it work?
|
||||
|
||||
The PyScript library provides HTML tags for embedding and executing Python code in your browser. PyScript is built using Pyodide, the WebAssembly port of CPython, which is compiled using Emscripten.
|
||||
|
||||
PyScript turns the browser into a code deployment tool that anyone can learn to use.
|
||||
|
||||
Example
|
||||
In this example, we are using the <py-script> HTML tag to generate a Matplotlib figure and display it as an image. Click Preview to see the rendered HTML.
|
||||
|
||||
To try it in your browser, copy the code below into an online HTML editor like W3School’s Tryit Editor, which allows you to modify, run, and even save your code. Watch the video below to see it in action!
|
||||
|
||||
|
||||
## Features
|
||||
|
||||
### Run Python code in the browser
|
||||
|
||||
#### In the main thread
|
||||
|
||||
#### In a web worker
|
||||
|
||||
### Environment Setup
|
||||
|
||||
#### Install Python Packages
|
||||
|
||||
#### Download files and assets
|
||||
|
||||
### Error reporting
|
||||
|
||||
### Pythonic Web APIs
|
||||
|
||||
### Access to Javascript
|
||||
|
||||
@@ -1 +1 @@
|
||||
# Features
|
||||
# User Guide
|
||||
|
||||
Reference in New Issue
Block a user