Can I add another program language in wix

Hi

Is possible to add a backend file from another program language like (Python)

Because I want to add a machine learning feature to my website but I don’t know how to do that

In general you cannot run Python scripts within the Wix platform.

If your python engine is accessible via the internet, you can use wix-fetch just to call the url with the appropriate parameters, and parse the result in a Promise and update the components you need according to the result.

Check out how you can expose your own site API:
https://www.wix.com/corvid/reference/wix-fetch.html

https://support.wix.com/en/article/corvid-accessing-third-party-services-with-the-fetch-api

https://support.wix.com/en/article/corvid-calling-server-side-code-from-the-front-end-with-web-modules

https://www.wix.com/corvid/reference/wix-http-functions.html

https://support.wix.com/en/article/corvid-exposing-a-site-api-with-http-functions

We have bright minds on Forum that advised on similar requests:

https://www.wix.com/corvid/forum/community-discussion/how-to-use-python-file-on-wix-site
https://www.wix.com/corvid/forum/search/python

I would however recommend you doing your stuff in Javascript which is the core language in Wix Code.

Do I understand it correct, I have to create other web-based application and then connect this application to wix web site?

Hello, please start a new post with your question in detail and relevant code. In short, yes if you have an external web application you can communicate between that and your Wix site if you have set it up to be able to do so.

Closing this question as it is a couple years old.