I don't know how well you know Flask, Terry, but this is an excellent intro. It's not going to be the immediate answer to your question, though.
http://blog.miguelgrinberg.com/post/the-flask-mega-tutorial-part-i-hello-world -- Linux Tips: https://www.tiger-computing.co.uk/category/techtips/ -- Next meeting: Online, Jitsi, Tuesday, 2021-02-02 20:00 Check to whom you are replying Meetings, mailing list, IRC, ... http://dorset.lug.org.uk New thread, don't hijack: mailto:dorset@mailman.lug.org.uk