On Thu, Oct 27, 2022 at 07:47 PM, Rudi wrote:
Could you please have a look what is the cause of the tracebak?
Hi Rudi,
I have no clue what goes wrong o your side, I copy/pasted the code here from the group and it works fine.
(I suspected that the forum SW did some strange formatting)
As a quick check add these two lines at line 26 (directly after the line with ' ms_dict[ key ] = val # put in dictionary') without any space to the left and show the output.
print( ms_dict )
exit()
Nevertheless the code with a safety check for you (and maybe other mac user) is now in my GitHub:
Martin