Spotify donates 100,000 euros in open source awards
Using PyScript comes down to connecting the pyscript.js style pyscript.css , after which it becomes possible to integrate Python code placed inside the <py-script> tag into the pages, or connect files through the <py-script src=… tag. >. The project also provides a <py-repl> tag with an implementation of an interactive code execution framework (REPL). The “<py-env>” tag is used to define paths to local modules.
<html> ... <py-script> print('Hello World!') </py-script> <py-env> - numpy - matplotlib - paths: - /data.py </py-env> <py-script src="./test.py"></py-script> ... </html>
Leave a Reply