def recent_schemes():
 app_dir = data_dir()
 recent_filename = os.path.join(app_dir, 'recent.pck')
 recent = []
 if (os.path.isdir(app_dir) and os.path.isfile(recent_filename)):
  with open(recent_filename, 'rb') as f:
   recent = pickle.load(f)
 recent = [(title, path) for (title, path) in recent if os.path.exists(path)]
 return recent

def recent_schemes ( ) : app_dir = data_dir ( ) recent_filename = os . path . join ( app_dir , 'recent.pck' ) recent = [ ] if ( os . path . isdir ( app_dir ) and os . path . isfile ( recent_filename ) ) : with open ( recent_filename , 'rb' ) as f : recent = pickle . load ( f ) recent = [ ( title , path ) for ( title , path ) in recent if os . path . exists ( path ) ] return recent
return a list of recently accessed schemes .