]> git.phdru.name Git - m_lib.git/blob - m_lib/clock/tstclock.py
Use print function for Py3 compatibility
[m_lib.git] / m_lib / clock / tstclock.py
1 #! /usr/bin/env python
2 """Define clock() for systems that do not have it"""
3
4 from __future__ import print_function
5 from clock import clock
6 from time import sleep
7
8 print("Testing...")
9 sleep(3)
10 print("Clock:", clock())