問題: TypeError: 'dict' object is not callable
原因: dict()是python的一個内建函數,如果将dict自定義為一個python字典,在之後想調用dict()函數是會報出“TypeError: 'dict' object is not callable”的錯誤,
解決辦法: >>>del (dict)
問題: TypeError: 'dict' object is not callable
原因: dict()是python的一個内建函數,如果将dict自定義為一個python字典,在之後想調用dict()函數是會報出“TypeError: 'dict' object is not callable”的錯誤,
解決辦法: >>>del (dict)