已解决:datals.append(list(map(eval,line.split(","))))语句报错SyntaxError: unexpected EOF while parsing
Python自动轨迹绘制程序:#AutoTraceDraw.pyimportturtleast#绘制前基础准备t.title('自动轨迹绘制')t.setup(800,600,0,0)t.pencolor("red")t.pensize(5)#数据读取datals=[]f=open("data.txt")forlineinf:line=line.replace("\n","")datals.app