Chris, glad that your problem seems to be sorted. But it is rather strange! The font being used for displaying with pi3d
shouldn't make any difference: In python strings are created by putting characters between quotation marks where the opening and closing quotes are the same. The options are limited to ' (apostrophe) or " (quotation mark) which are chr(39) or chr(34). You can start and end multi-line strings by using three i.e. ''' or """. However there are characters that look similar. ` chr(96) is the only one available on my keyboard but others include ʹ,ʺ,ʻ,ʼ,ʽ,ˈ,ˊ,ˋ,ʹ etc etc. If you open up a python3 terminal and copy paste those characters like this:
Code: Select all
>>> [ord(c) for c in "ʹ,ʺ,ʻ,ʼ,ʽ,ˈ,ˊ,ˋ,ʹ".split(',')]
you will see that they are not chr(39) or chr(34)
To make the situation even more confusing the last apostrophe in the list is chr(884) the Greek numeral sign that has notoriously been used for SQL injection. So some browsers or web servers or web sites slyly swap it over to chr(697) - which is what you will see (something's already swapped it over while I was typing) but you can see what it looks like by typing into the python3 terminal chr(884).
So it's not entirely clear why you would be suffering this problem but it might be because of the way your keyboard is set up though that does seem unlikely. You can test it by printing out the chr() value:
where you type from the keyboard the ` character or copy paste it from different places in PictureFrame.py. It's also very odd that anything after the # on line 29 would make any difference at all as it's just a comment!