UNIXタイムスタンプ文字列を読み取り可能な日付に変換する
PythonでUNIXタイムスタンプ(「1284101485」)を表す文字列があり、それを読み取り可能な日付に変換したいと思います。を使用するとtime.strftime、次のようになりますTypeError。 >>>import time >>>print time.strftime("%B %d %Y", "1284101485") Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: argument must be 9-item sequence, not str