[ ] Saturday, 4 April 2015 [ ]

Python Binary Clock

Binary Clock

Created a binary clock widget, code is in a gist.

Was getting AttributeError: object has no attribute 'strftime' errors, initially, this turn out to be name space collision errors - I had initially named the file time.py.

Colour Time Binary

Updated colourtime.js to create a btime function, which uses the javascript toString(2) [1] Number.prototype.toString(): The toString() method returns a string representing the specified Number object. to convert the time to binary for the binary clock:



 


codejspython


$Id: diary,v 1.38 2025/01/01 22:43:54 fred Exp $