Hacker News new | ask | show | jobs
by westurner 1256 days ago
Thanks! FWICS, futurecoder (and JupyterLite) may be the best way to run `print("hello world!")` in Python on Chromebooks for Education and Chromebooks with Family Link which don't have VMs or Containers ((!) which we rely upon on the server side to host container web shells like e.g. Google Colab and GitHub Codespaces (which aren't available for kids < 13) and cocalc-docker and ml-tooling/ml-workspace and kaggle/docker-python and https://kaggle.com/learn )

Also looked at codesters. quobit/awesome-python-in-education: https://github.com/quobit/awesome-python-in-education

Looks like `Ctrl-Enter` works, just like jupyter/vscode.

iodide-project/iodide > "Compatibility with 'percent' notebook format" which works with VScode, Spyder, pycharm, https://github.com/iodide-project/iodide/issues/2942:

  # %%
  import sympy as sy
  import numpy as np
  import scipy as sp
  import pandas as pd
  # %%
  print("hello")
  # %%
  print("world")

Does it work offline? jupyterlite/jupyterlite "Offline PWA access" https://github.com/jupyterlite/jupyterlite/issues/941