Running a program tied with my site

Can someone show me how to Run a program (python built) to update information live on my site.
just like how a command prompt on your windows or what not running simple code to update info directly to my wix site.

before hand i was using databases but these are not effective and makes too many loops for the program to jump through causing many errors…

i hope this makes sense if it doesn’t please ask questions Id be very happy if someone can assist me

You can expose your own site API. Refer to the following for information on accomplishing this:

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

Also, you can play with this example:
Expose and Access Site APIs
Use MyApi and MyApiClient to expose and access external APIs.