def from_pytime(pytime):
        try:
            return datetime.fromtimestamp(int(pytime))
        except __HOLE__:
            return None
dataset/ETHPy150Open tjguk/winsys/winsys/utils.py/from_pytime