<s> from bustard . app import Bustard <EOL> app = Bustard ( ) <EOL> @ app . route ( '<STR_LIT>' ) <EOL> def set_session ( request , value ) : <EOL> request . session [ '<STR_LIT:name>' ] = value <EOL> return '<STR_LIT>' . format ( value ) <EOL> @ app . route ( '<STR_LIT:/>' ) <EOL> def get_session ( request ) : <EOL> value = request . session . get ( '<STR_LIT:name>' , '<STR_LIT>' ) <EOL> return '<STR_LIT>' . format ( value ) <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> app . run ( host = '<STR_LIT>' ) </s>
