Changed code to python3, add README.md

This commit is contained in:
Jan
2019-09-26 13:41:04 +02:00
parent 52a0af1d91
commit 77c06ee493
5 changed files with 140 additions and 91 deletions

View File

@@ -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'>