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. 경마사이트

  3. Why users still use to read news papers when in this technological
    globe all is available on net? 카지노사이트

  4. Wow, amazing blog layout! How lengthy have you been running
    a blog for? you make running a blog glance easy. The full glance of your website is great, as neatly as the content material! 사설토토