Sunday, April 5, 2015

ASCII Clock in Terminal using Python

Today I've created Python script that prints a clock in ASCII art style to the terminal.
To perform ASCII drawing a special Python class (ASCII Canvas) with several functions was created.
Source code is available on my GitHub:
Here are the result:
Also I've provided resizing of clock. So if the size of clock if small, week day and day are hidden.
Added scale by x-axis to equalize the width and height of the clock, because fonts' height is more than their width.
For linux version added a set of standard chars to draw the clock items with. Here you can see the clock under linux:


  1. Thank you for the good writeup. It in fact was a amusement account it. Look advanced to more added agreeable from you! 메이저사이트

  2. When some one searches for his vital thing,
    thus he/she needs to be available that in detail, thus that thing is maintained over here. 경마사이트