make clock.py work with python3