def create_python27_stop_cmd(port):
 stop_cmd = '/usr/bin/python2 {0}/scripts/stop_service.py dev_appserver.py {1}'.format(constants.APPSCALE_HOME, port)
 return stop_cmd

def create_python27_stop_cmd ( port ) : stop_cmd = '/usr/bin/python2 {0}/scripts/stop_service.py dev_appserver.py {1}' . format ( constants . APPSCALE_HOME , port ) return stop_cmd
this creates the stop command for an application which is uniquely identified by a port number .