This is not feasible.
Stack snippets run entirely in the browser. You can't run Python in everyone's browser, not the CPython (main) implementation.
Python is a very, very rich ecosystem, with multiple implementations, and while there are implementations that run in a browser, these are far from complete nor can they run many of the libraries that make Python so popular, such as NumPy and Pandas for data science *), or Flask, Django or Quart for web applications, or Tkinter, Qt and GTK for GUIs.
Nor do I feel it is necessary; I have been answering Python questions for over 12 years on this site without the need for snippets. It's not like Python is regularly used to create dynamic HTML and style output, the way JavaScript is, for example.
*) Yes, Pyodide can run much of the data science stable of libraries, but has no working threads, sockets or multiprocessing support, which is my view is a severe limitation. It is also resource heavy, something the Stack Overflow team has tried to avoid in the past.