class Server(object):
    _cp_config = {'tools.sessions.on': True, 'tools.auth.on': True}
auth = AuthController()

@cherrypy.expose
@require()
def index(self):
    f = open('file.txt', 'r')
link = f.read()
f.close()
myText = 'Hello World'
How to pass python variable to html variable?