I tried deploying my python file, but it kept being stuck on the building phase for some reason:
Side note: I am using PywebIO. The python file looks something like:
import pywebio
from pywebio import start_server
…
def main()
…
if name == ‘main ’:
start_server(main,auto_open_webbrowser=True)
thanks a lot
Hi!
Having 0 experience with PyWeb, I might be wrong, but based on my limited Python reading/understanding skills, I believe you’re trying to run a server. This might interest you:
Last reviewed by Netlify Support on December 2022
How do I run a server/database at Netlify?
We often get questions about how to run a specific backend server or database at Netlify. Examples of these types of questions include:
How to I get my node HTTP listener to respond to requests?
How do I start Mongo/MySQL/<insert-some-database-here> running on the server?
How can I SSH into my website?
We are here today to answer these questions - and the answer is: you can’t!
What do you m…