How I implemented relative imports with Pyodide

· Evan Hahn · Dec. 11, 2025, 5:30 p.m.
Summary
The blog discusses a personal implementation of relative imports in Pyodide, detailing the process of using JavaScript to fetch Python files and execute them in Pyodide's virtual environment. While the solution presented worked for the author, they express a desire for a cleaner method and invite readers to share better alternatives.
AUTHOR
Sponsored
Zulip logo Zulip
Organized team chat for people who take work seriously. Topic-based threading keeps conversations focused.
Try Zulip
Become a sponsor →
BLOG POST FEATURED ON

Add this plugin to your blog