我有一个日期时间列表,并希望使用以下代码将其转换为日期:date_strings = [datetime.strftime(d, '%m-%d-%Y') for d in dates]
datetime.datetime(2016,11,21,0,0),datetime.datetime(2016,11,22,0,0),
我有一个简单的python程序,可以使用matplotlib绘制图形。TypeError: strptime() argument 0 must be str, not <class 'bytes'>
我做错了什么?b.t.w我试过了,http://stackoverflow.com/questions/21117311/time-strptime-argument-0-must-be-str-not-by