Create a Python function to actively accept HTTP requests for a set amount of time -
i need create gui in python can:
- when button pressed, start accepting http connections 10 minutes
- after 10 minutes have passed, go on display text on screen
what have tried:
i have tried creating http server program in python using flask. while works, have had couple difficulties (the main ones being: keeping track of time passed start , indicating calling gui program server had finished accepting connections, since server meant stateless)
is there easier way this?
Comments
Post a Comment