-
Notifications
You must be signed in to change notification settings - Fork 1
如何支持第三方库例如requests #25
Copy link
Copy link
Open
Description
wasm = WasmExecutor()
code = """
def bb(a):
import requests
return requests.get('https://www.baidu.com/').text
print(bb(**keywords))
"""
print(wasm.exec(code, globals={}, locals={'keywords': {'a': 'a'}}).text)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels