/pweb helpkit
pweb has three main functionalities:
- edit a python file
- create a python file/blob and download it
- run a python file/blob and execute a python shell emulator completly on the browser
to edit a python file, start typing in the box provided on the main area or click load on the top
- note that the text will be lost after a refresh unless you download a blob
- additionally you will be able to change the file name via the blob function
each time you press the blob button on the top the program will create a file with the text that you have written on the editor
- in order to add the content on the text to the blob, you have to manually click the blob function again
- this prevents unnecesary state changes on events that are fired everytime the text changes, optimizing the program
- it is not recomended but you can toggle this feature off in the config file
the run button will launch a pyscript emulation program
- note that the content that is launched through to pyscript is non dependant on your blob content (no need to update anything)
- pyscript is a framework built wit pyodide a python to webassembly interpreter that runs on the web via wasm itself