步驟1: 創建Python 檔案 · 步驟2: 安裝pyscript · 步驟3: 將Python 檔案引入HTML · 步驟4: 開始伺服器.
最近看到Anaconda 開發了一個新的Open source project 叫做PyScript,是一個能在HTML 中直接撰寫Python 程式,當使用者開啟該檔案時,就會在背後直接開始
PyScript enables the creation of rich Python applications in the browser using Pyodide (a version of CPython), MicroPython, WASM, and modern web technologies.
更多相關連結: https://linktr.ee/wade3c. Pyscript是anaconda公司推出的一個十分有趣的專案,能夠透過web assembly讓python code可以在瀏覽器內被執行. image.png.
The most obvious thing is that with PyScript, we can now write Python (and potentially other languages) in HTML and build web applications.
Pyscript.com is a free platform that lets you create web applications with a suite of web-ready Python libraries. Join the PyScript universe, and make