Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在我的python代码中
for i in array_config(1,len_config): print array_config[2]
节目
TypeError: 'list' object is not callable
(array_config 是一个配置文件数组) (len_configs 值为 7)
如何消除该错误?
您在第一行调用 array_config 就像一个函数。感觉就像你打算写这个:
for i in array_config: print i