Changed code to python3, add README.md
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
|
||||
to use the 6x8 font, cat clocky-font.py >>/home/pi/.local/lib/python2.7/site-packages/luma/core/legacy/font.py
|
||||
cat clocky-font.py >>/usr/local/lib/python2.7/dist-packages/luma/core/legacy/font.py
|
||||
to use the 6x8 font,
|
||||
cat clocky-font.py >>/home/pi/.local/lib/python3.5/site-packages/luma/core/legacy/font.py
|
||||
|
||||
|
||||
or wherever the luma-core font.py is. This can be found by running python manually:
|
||||
|
||||
python
|
||||
>>> import from luma.core.legacy.font
|
||||
python3
|
||||
>>> import luma.core.legacy.font
|
||||
>>> luma.core.legacy.font
|
||||
<module 'luma.core.legacy.font' from '/home/pi/.local/lib/python2.7/site-packages/luma/core/legacy/font.pyc'>
|
||||
|
||||
<module 'luma.core.legacy.font' from '/home/pi/.local/lib/python3.5/site-packages/luma/core/legacy/font.py'>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user