1
任何人都可以在這TypeError
消息揭露一些燈?
csvRow.append(len(calls["outbound"] + len(calls["inbound"])))
TypeError: unsupported operand type(s) for +: 'dict' and 'int'
當我這樣做,我沒有得到任何的問題,它作爲預期:
totalinbound = len(calls["inbound"])
totaloutbound = len(calls["outbound"])
csvRow.append(totalinbound + totaloutbound)
感謝您爲我解決這個問題。 – 2014-11-24 16:25:47