Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ import_pypi.py
File
import_pypi.py
wasm/demo/snippets/import_pypi.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
# make sys.modules['os'] a dumb version of the os module, which has posixpath
2
# available as os.path as well as a few other utilities, but will raise an
3
# OSError for anything that actually requires an OS
4
import
_dummy_os
Callers
nothing calls this directly
Calls
1
setup
Method · 0.45
Tested by
no test coverage detected