Answer the question
In order to leave comments, you need to log in
Why doesn't Tornadoweb include styles?
There is a website - /var/www (example.com)
A tornadoweb server is running on port 8888
class Index(RequestHandler):
def get(self):
template=Loader("/var/www")
self.write(template.load("index.html"))
application = Application([
(r"/", Index),
])
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question