2018-06-03 【Python】NameError: name 'unicode' is not defined 概要 以下のエラーが出たので対処。 NameError: name 'unicode' is not defined 対処方法 pythonにおいてunicode型を使用した際にエラーが発生。 unicodeをstrにすれば解消する。 unicode<=>strの変換方法配下を参照してみると良い。 strとunicode