With this script, you will be able to create a clock for yourself. You can try different clock face images. Of course, note that for better quality, use format ".png", and remove the extra background.
Requirements:
- python 3.8
- Matplotlib
pip install matplotlib
- Numpy
pip install numpy
- Command Terminal (Win/Lin/Mac):
python MyNewClock.py
Attention:
If you use pycharm. you should disable the "Show plots of in tool window".
Go to:
File >Settings >Tolls > Python Scientific
and uncheck
- Show plots of in tool window
then click 'OK', and enjoy it.
If you like making an executable and runnable Clock from anywhere (on UNIX systems), use the following process:
- put this
#!/usr/bin/env python
in the first line of MyNewClock.py - Make the file executable with
chmod +x myfile.py
- Execute with
./myfile.py
.
Added features:
- face image
- hand image