Commit 302a17b3 authored by Timothy J. Baek's avatar Timothy J. Baek
Browse files

feat: code input support

parent 01a656cc
......@@ -169,6 +169,8 @@
const res = await pyodide.loadPackage('micropip');
console.log(res);
pyodide.setStdin({ stdin: () => prompt() });
const micropip = pyodide.pyimport('micropip');
await micropip.set_index_urls('https://pypi.org/pypi/{package_name}/json');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment