将unix时间戳字符串转换为可读日期
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
饮歌长啸
阿晨1998
相关分类