Python in ff add-on

hi, how to put a python code for ff add-on, using jpm? do it need a new xpi file? which tool can I use to get this file this with python code?

If you need python to tap into the platform apis, then there is no need, we have js-ctypes:

Here is a jpm addon that uses js-ctypes form the main thread and from a worker. It does objective-c to change the dock icon:

https://addons.mozilla.org/en-US/firefox/addon/os-x-dock-icon-changer/

1 Like

Thanks