代码内容: python新建txt文件并以当前时间命名,在文件中写入当前时间,追加数组,在写入数组后,在文末写入ok!,并在执行栏中输出open the file! 代码内容: from datetime import datetime list=[0.268,0.6589,3.4127,4.23650,2.455] NowOnTxt = datetime.strftime