python 傳參的問題

** 將字典對象處理對應的字典對象 app >>> d = {'a': 3, 'b': 2, 'c': 3}spa >>> l = [1,2,3,4]對象 >>> class Func(object): ...     def __init__(self, **kwargs): ...         print kwargsinput ...  it >>> Func(d) Traceback
相關文章
相關標籤/搜索