Python os does not expose creation time on Linux https://bugs.python.org/issue39533 But Linux has a statx syscall that could be used instead.