def save_recent_scheme_list(scheme_list):
 app_dir = data_dir()
 recent_filename = os.path.join(app_dir, 'recent.pck')
 if os.path.isdir(app_dir):
  with open(recent_filename, 'wb') as f:
   pickle.dump(scheme_list, f)

def save_recent_scheme_list ( scheme_list ) : app_dir = data_dir ( ) recent_filename = os . path . join ( app_dir , 'recent.pck' ) if os . path . isdir ( app_dir ) : with open ( recent_filename , 'wb' ) as f : pickle . dump ( scheme_list , f )
save the list of recently accessed schemes .