【Python】TypeError: Unicode-objects must be encoded before hashing
概要
以下のエラーが出たためメモ。
TypeError: Unicode-objects must be encoded before hashing
解決策
文字列の末尾に.encode('utf-8')
を追記する。
以下のエラーが出たためメモ。
TypeError: Unicode-objects must be encoded before hashing
文字列の末尾に.encode('utf-8')
を追記する。