摘要:function ToFixed(value, digits) { var str = value.toString(); var index = str.indexOf("."); var strInt = str; var strDec = ""; if (index > 0) { strInt... 阅读全文
使用python模块的codecs
2020-11-17 16:44 by 历久弥新, 336 阅读, 0 推荐, 收藏,
摘要:1 import codecs 2 files=codecs.open('test.txt','w','utf-8') 3 files.write('乐芙兰!\n') 4 files.write('哈哈哈哈哈哈!\n') 5 files.close() 6 7 file = codecs.open( 阅读全文
浙公网安备 33010602011771号