code: def save(params):
      
      if is_python3():
          import pickle
          cPickle = pickle
      else:
          import cPickle
      ts = datetime.datetime.fromtimestamp(time.time()).strftime("%Y-%m-%d_%H-%M-%S")
      if not os.path.exists("saves/"):
          os.makedirs("saves/")
      with open("saves/almonds_%s.params" % ts, "wb") as f:
          cPickle.dump(params, f)
          params.log("Current scene saved!")
docs: Saves the current parameters to a file.
  
      :param params: Current application parameters.
      :return: