<s> """<STR_LIT>""" <EOL> import os <EOL> from flask import Flask , render_template , url_for <EOL> def static ( filename ) : <EOL> """<STR_LIT>""" <EOL> timestamp = os . path . getmtime ( os . path . join ( app . static_folder , filename ) ) <EOL> return "<STR_LIT>" % ( app . static_url_path , filename , timestamp ) <EOL> app = Flask ( __name__ ) <EOL> app . jinja_env . globals . update ( static = static ) <EOL> @ app . route ( '<STR_LIT:/>' ) <EOL> def index ( ) : <EOL> return render_template ( '<STR_LIT>' ) <EOL> @ app . errorhandler ( <NUM_LIT> ) <EOL> def page_not_found ( error ) : <EOL> return render_template ( '<STR_LIT>' ) , <NUM_LIT> <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> app . run ( '<STR_LIT:localhost>' , port = <NUM_LIT> , debug = True ) </s>
