You need to use the fully qualified name:
class UploadHandler(tornado.web.RequestHandler):
@tornado.web.asynchronous
def post(self):
print("In post")
self.redirect("/upload.html")
Alternatively, you could import all of tornado.web
to use the single name:
from tornado.web import *