( success, message )
return
This prints json to the requestor
This prints json to the requestor
This prints json to the requestor
def print_json( success, message ):
   'This prints json to the requestor'
   print ('Content-Type: application/json\n\n')
   result = {'success':success,'message':message}
   print (json.dumps(result))
   return
def print_json ( success , message ) : print ( 'Content-Type: application/json\n\n' ) result = { 'success' : success , 'message' : message } print ( json . dumps ( result ) ) return