Hi Aramik,
It looks like webapp2 is mainly used on Google App Engine and as such it doesn't have a built in handler for static files. The suggestions that I did find won't work on PythonAnywhere because we serve the wsgi application for you rather than getting you to start your own server. You could write a request handler that directly returned your css.
class CSSHandler(webapp2.RequestHandler):
def get(self, *args, **kwargs):
with open('/home/aramik/static/blog.css') as f:
response = webapp2.Response(f.read())
response.content_type = 'text/css'
return response
app = webapp2.WSGIApplication([
(r'/static/blog.css', CSSHandler),
We are currently working on making this kind of stuff unnecessary. Static files will be served by the web server in the near future.