python3.X 二进制字符串的问题
PHPz
PHPz 2017-04-18 10:03:49
0
1
493
PHPz
PHPz

学习是最好的投资!

reply all(1)
刘奇

"b'10/31/2016'" str, b'10/31/2016' 是 字符串 '10/31/2016'的binary格式,所以还是处理下数据吧,可以用loadtxt中的converters参数,re.sub("b|'", '', first_field)b 和里面的'Replace the key and then convert the date

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!