def remove_action_at_index(index):
    ''' remove action at index.  Call save_defaults() to save result.
	'''
    defaults = NSUserDefaults.standardUserDefaults()
    editoractions = get_actions()
    del editoractions[index]
    defaults.setObject_forKey_(editoractions, 'EditorActionInfos')
 remove action at index.  Call save_defaults() to save result.
	
lib/pythonista_add_action.py