Hi, @Jerenyaoyelu. About this:
That is not true. You may not have been aware that you were using a Function but that is what was used.
The code in question was deployed as a Function. This is a fact that cannot be disputed.
I know this is true because Netlify provides no application runtime for any deployed site outside of the Functions environment. We don’t allow you to run a “server” at Netlify - only Functions. So, if you are running code after the deploy is complete, it can only be a Function (or Edge Function but those never run Python either).
So, the only way to run code at Netlify is as a Function (or as an Edge Function). Once deployed as a function, again, there is no Python language runtime available.
You can use Python during the build and deploy but not after. You won’t be able to run a Python script after the site build is complete at Netlify. It is not possible at this time.