擅长:python、mysql、java
<p>使用<a href="https://docs.python.org/3/library/os.html?highlight=os%20walk#os.walk" rel="nofollow noreferrer">os.walk</a>导航目录结构,使用<a href="https://docs.python.org/3/library/os.path.html#os.path.getmtime" rel="nofollow noreferrer">os.path.getmtime</a>确定每个文件的修改时间。你知道吗</p>
<p>为了比较时间,我建议使用<a href="https://docs.python.org/2/library/datetime.html#module-datetime" rel="nofollow noreferrer">datetime</a>模块。你知道吗</p>