查找一个键并返回特定值。
get使用两个参数:一个是字典本身,另一个是在字典中查找的键。
Get takes two arguments: the dictionary itself, and a key to look up in it.
如果您对首选项名称不确定,您可以用keys方法查找一列与节点相关联的键。
If you're not sure of the preference names, you can find a list of the keys associated with a node with the keys method.
应用推荐