Re: IOError: cannot open resource

2019-12-07 Thread Python
RobH wrote: On 07/12/2019 16:04, Peter Otten wrote: RobH wrote: When I run a python project with an oled display on a rasperry pi zero, it calls for the Minecraftia.ttf font. I have the said file in home/pi/.fonts/ I get this error: pi@raspberrypi:~/Downloads $ python interdisplay.py Traceba

Re: IOError: cannot open resource

2019-12-07 Thread RobH
On 07/12/2019 16:58, Michael Torrie wrote: On 12/7/19 9:48 AM, RobH wrote: On 07/12/2019 16:00, Dan Sommers wrote: On 12/7/19 9:43 AM, RobH wrote: When I run a python project with an oled display on a rasperry pi zero, it calls for the Minecraftia.ttf font. I have the said file in home/pi/.fon

Re: IOError: cannot open resource

2019-12-07 Thread Michael Torrie
On 12/7/19 9:48 AM, RobH wrote: > On 07/12/2019 16:00, Dan Sommers wrote: >> On 12/7/19 9:43 AM, RobH wrote: >>> When I run a python project with an oled display on a rasperry pi zero, >>> it calls for the Minecraftia.ttf font. I have the said file in >>> home/pi/.fonts/ >> >> Do you mean /home/pi/

Re: IOError: cannot open resource

2019-12-07 Thread RobH
On 07/12/2019 16:00, Dan Sommers wrote: On 12/7/19 9:43 AM, RobH wrote: When I run a python project with an oled display on a rasperry pi zero, it calls for the Minecraftia.ttf font. I have the said file in home/pi/.fonts/ Do you mean /home/pi/.fonts (with a leading slash, an absolute path rat

Re: IOError: cannot open resource

2019-12-07 Thread RobH
On 07/12/2019 16:04, Peter Otten wrote: RobH wrote: When I run a python project with an oled display on a rasperry pi zero, it calls for the Minecraftia.ttf font. I have the said file in home/pi/.fonts/ I get this error: pi@raspberrypi:~/Downloads $ python interdisplay.py Traceback (most rece

Re: IOError: cannot open resource

2019-12-07 Thread Dan Sommers
On 12/7/19 9:43 AM, RobH wrote: When I run a python project with an oled display on a rasperry pi zero, it calls for the Minecraftia.ttf font. I have the said file in home/pi/.fonts/ Do you mean /home/pi/.fonts (with a leading slash, an absolute path rather than a relative one)? Dan -- https:/

Re: IOError: cannot open resource

2019-12-07 Thread Peter Otten
RobH wrote: > When I run a python project with an oled display on a rasperry pi zero, > it calls for the Minecraftia.ttf font. I have the said file in > home/pi/.fonts/ > > I get this error: > > pi@raspberrypi:~/Downloads $ python interdisplay.py > Traceback (most recent call last): >File "i