Python中獲取某樣東西里包含的東西的三種方法

一、字典app #dict styleclass mystuff['apples']module   二、模塊dict #module styledi mystuff.apples()apple print mystuff.tangerine字典   三、類 #class style thing = Mystuff() thing.apples() print thing.tangerine
相關文章
相關標籤/搜索