[Tutor] What is wrong with my Python program that causes it to run but not give results?

2016-10-25 Thread Ed Troy
I found a very useful Python program for calculating the Spice parameters for a LED. I have Python3 and the various modules loaded onto my Ubuntu machine. I created the diode IV curve data as per the article, but I can't seem to get it to run. My python filename is LED_model_utf8.py The text f

Re: [Tutor] What is wrong with my Python program that causes it to run but not give results?

2016-10-26 Thread Ed Troy
10/25/2016 7:50 PM, Alan Gauld via Tutor wrote: On 25/10/16 20:24, Ed Troy wrote: my Ubuntu machine. I created the diode IV curve data as per the article, but I can't seem to get it to run. edward@ubuntu:~$ python LED_model_utf8.py LED_IV.txt Traceback (most recent call last): File &qu

Re: [Tutor] What is wrong with my Python program that causes it to run but not give results?

2016-10-26 Thread Ed Troy
model_utf8.py LED_IV.txt Thanks to everyone. Sorry for the mistake on my part. I think that if I had added the # -#- coding: utf-8 -*- right from the start, the problem never would have happened. Ed On 10/26/2016 10:18 AM, Felix Dietrich wrote: Alan Gauld via Tutor writes: On 26/10/16 04:1