how to use time module code example Example: time module in python import time seconds = time.time() print("Seconds since epoch =", seconds)