bun_python icon indicating copy to clipboard operation
bun_python copied to clipboard

How to call JS from python?

Open Fanna1119 opened this issue 9 months ago • 1 comments

I know this is not the scope of this project at all. Was wondering if you could perhaps give some insight and think if is possible to do the same in reverse and call JS/bun from python with similar interfacing?

Fanna1119 avatar Mar 26 '25 13:03 Fanna1119

I don't think it's possible to call js/bun function if python is running standalone... (since bun don't have library) but you can embed node in python with python's ffi

codehz avatar Mar 27 '25 01:03 codehz