python - Python_Encoding_error message -


hi able code working following below, changing bunch of variable names seemed work. perhaps using variables recognized encoder _utf-8. help

dt =0.1 a=100 n=int(a/dt) kgrow=1; kshrink =0.25  pgrow=kgrow*dt ;  pshrink=kshrink*dt length =[]  l=0 times =[] t=0  in range(n): t+=dt times.append(t) randgrow=random.random()  randshrink=random.random()  length.append(l)  time=np.array(times) lengths=np.array(length)  plt. plot (times,length) plt. xlabel('time') plt.ylabel('length')  

try open notepad , save ansi encoding.

save as.. ansi encoding


Comments

Popular posts from this blog

javascript - How to synchronize the Three.js and HTML/SVG coordinate systems (especially w.r.t. the y-axis)? -

javascript - How do I find how many occurences are there of a highlighted string, and which occurence is it? -

java - Reading data from multiple zip files and combining them to one -