Python 3.0.1では、collections
モジュールのCounter
部分を使用しようとしています どこでも私はドキュメントを見ています...モジュールのこの部分は何もないPython 3.0.1で利用可能です。しかし...Python 3.0.1コレクション.Counter
from collections import Counter
from collections import counter
from Collections import Counter
from Collections import counter
私のためにすべての収率のエラー...これはなぜですか?
レシピはPython 2.x用に書かれているようですが、Python 3.0でそれを使用している場合、すべての 'iteritems'関数参照を' items'に置き換える必要があります。 –