pygame is
Simple DirectMedia Layer is
Site Swing

pyBCD - 0.2

Chris Uzal (c4)



Why would you want to use a binary clock?

Because if you use Arabic numerals... then the terrorists have already won. :p

Download this binary clock today and support freedom loving peoples everywhere.


The "binary clock" is a great exercise in programming. When you're already familiar with programming theory, you need something slightly bigger than "hello world."

This is my first published python project. You can import this file to use the get_correct_digit function in your own work. I've licensed it as GPL 3 so I look forward to seeing interesting additions to it (if that ever happens.)


Now with an executable windows binary. Special thanks to PyMike for his help with that.


Home Page:


click to view original size


pyBCD - 1.1 - Apr 26, 2012
pyBCD - 1.0 Final - Jul 1, 2008
pyBCD - 0.42 - Jun 30, 2008
pyBCD - 0.27 - Jun 26, 2008
pyBCD - 0.2 - Jun 24, 2008 account Comments

If you wish to leave a comment with your account, please sign in first.

July 1, 2008 9:47am - Chris Uzal - nickname: (c4)
@PyMike: thanks for checking it out. You kept me in python with your PySetup v1.1 code. Props to you are under Release 0.2.

@Paul: Thanks for the rating. As to binary representation of Unix time, I accept your challenge. I'm going to assume that "proper binary"(as oppose to *B*inary *C*oded *D*ecimal :p) means zeros and ones.

I can write it... I can confirm that it's displaying the right sequence... but I doubt I'll ever be able to read it with the speed of BCD or Arabic digits. Even if I could convert it in my head to the decimal seconds, then there's converting it to a human usable format.

It will be fun. :)
June 30, 2008 11:42pm - Paul Davey - nickname: (technomancer) - 5/5
make one that displays unix time in proper binary :P
June 30, 2008 2:02pm - pymike - nickname: (pymike)
Neato :)
June 26, 2008 10:52am - Chris Uzal - nickname: (c4)
Thank you. I'd like to replace my windows clock with a smaller (much smaller) version of my binary clock.
June 24, 2008 4:12pm - Emanuel Berg - nickname: (metabaron)
June 24, 2008 3:41pm - Michael - nickname: (cookie) - 4/5
Nice toy! Should add nicely to futuristic games ...

our projects welcomes all python game, art, music, sound, video and multimedia projects. If they use pygame or not.
recent releases
Feb 21, 2017

Jan 31, 2017

Jan 24, 2017

Jan 18, 2017

Jan 7, 2017

Dec 30, 2016

Dec 8, 2016

Nov 28, 2016

Nov 27, 2016

... more!
for pygame related questions, comments, and suggestions, please see help (lists, irc)