Deploying a web app

I have a simple Python app, something like online math tool. I don’t know front end and web frameworks. What’s the easy way to deploy this on web? For me enough would be simple site with textbox to enter expressions, title and few hyperlinks. Thanks.

I would have a look at Real Python’s Google App Engine & Python tutorial. There’s many ways to make a web app in Python and App Engine is probably one of the easier methods out there (maybe). Here’s Google’s Python on App Engine docs, it’ll walk you through getting the App Engine SDK installed on your local system (for development and pushing your app to the web) and can address issues the Real Python tutorial doesn’t cover.
You will need to have some understanding of how a web application differs from your Python app and how to construct an HTML document. Writing in the same format as the tutorial, maybe this can get you started:

import webapp2

def math_tool(input):
    # Main Function handling Math Help
    return input

class Main(webapp2.RequestHandler):
    def get(self):
        expression = self.request.get("expression")

        mainHTML = """
            <head><title>Online Math Tool</title></head>
                <form action="/" method="get">
                    Input Expression: <input type="text" name="expression" value={}>
                    <input type="submit" value="Help">
                    Answer: {}
                    <li><a href="">Hyperlink 1</a></li>
                    <li><a href="">Hyperlink 2</a></li>
                    <li><a href="">Hyperlink 3</a></li>
        </html>""".format(expression, math_tool(expression))

        self.response.headers["Content-Type"] = "text/html"

routes = [('/', Main)]

my_app = webapp2.WSGIApplication(routes, debug=True)

This should tell App Engine to serve this web page which features a title, a text input box for the math expression, a submit button, and several example hyperlinks wrapped in an unordered list. On submit, the script runs the function math_tool on the text box contents and embeds its answer in the web page. You’ll still have to port your Python app into the math_tool function, get App Engine running, and create the app.yaml file that App Engine is expecting. These things should be covered in the Real Python tutorial however.

Thanks, that’s cool, will have a look. Does it supply a database? I think it’s not necessary, but could be useful for cashing. Thanks.