2
錯誤日誌:itertools在GAE中不起作用?
2011-12-05 14:56:01.211
<type 'exceptions.AttributeError'>: 'module' object has no attribute 'product'
Traceback (most recent call last):
File "/base/data/home/apps/s~ellipt-test/1.355173855249110456/helloworld.py", line 494, in <module>
F16 = field_elements(2, 4)
File "/base/data/home/apps/s~ellipt-test/1.355173855249110456/helloworld.py", line 218, in field_elements
result = list(itertools.product(*([range(p)]*n)))
什麼問題?在我的計算機上,腳本正常工作!