python-eel/Eel

Question: Call async Javascript function from Python

Open

#741 opened on 2024年9月9日

GitHub で見る
 (3 comments) (0 reactions) (0 assignees)Python (570 forks)batch import
help wanted

Repository metrics

Stars
 (5,980 stars)
PR merge metrics
 (30d に merged PR はありません)

説明

Maybe I'm stupid, but I don't understand how to call an async JS function from Python. For example:

eel.expose(test);
async function test() {
    console.log("Hello world!");
}

This does not work:

eel.test()

コントリビューターガイド