Skip to content

About

Browser Python (Pyodide) with NumPy/pandas for Hong Kong education use

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

HK Edu Python Compiler

瀏覽器內 Python 編譯器:以 Pyodide 執行 Python,並支援 NumPy/pandas;可上傳 CSV 後於程式碼中以 pd.read_csv('檔名.csv') 讀取。

示範: https://kyleyct.github.io/hkedu-python-compiler/

功能

  • 線上編輯器 + Console 輸出 + DataFrame/值預覽
  • 內建示例:Hello World、NumPy、pandas
  • 多檔 CSV 拖放/選擇上傳(執行環境內讀取)
  • Run/Reset Runtime/Clear Output

使用

  1. 開啟 GitHub Pages,或
  2. 本機:
git clone https://github.com/kyleyct/hkedu-python-compiler.git
cd hkedu-python-compiler
python3 -m http.server 8080
# http://localhost:8080/

首次載入需下載 Pyodide 執行環境,請稍候。

技術

  • index.html + py-worker.js
  • Pyodide(WebAssembly Python)
  • 靜態託管(含 .nojekyll)

授權

未於 repo 宣告授權時,使用前請先向作者確認,或自行補上合適授權。

About

Browser Python (Pyodide) with NumPy/pandas for Hong Kong education use

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages