文件操作 - api-pycompat24.txt
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/doc/python-kitchen-1.1.1/html/_sources/api-pycompat24.txt
编辑文件内容
======================= Python 2.4 Compatibiity ======================= ------------------- Sets for python-2.3 ------------------- .. automodule:: kitchen.pycompat24.sets .. autofunction:: kitchen.pycompat24.sets.add_builtin_set ---------------------------------- Partial new style base64 interface ---------------------------------- .. automodule:: kitchen.pycompat24.base64 :members: ---------- Subprocess ---------- .. seealso:: :mod:`kitchen.pycompat27.subprocess` Kitchen includes the python-2.7 version of subprocess which has a new function, :func:`~kitchen.pycompat27.subprocess.check_output`. When you import :mod:`pycompat24.subprocess` you will be getting the python-2.7 version of subprocess rather than the 2.4 version (where subprocess first appeared). This choice was made so that we can concentrate our efforts on keeping the single version of subprocess up to date rather than working on a 2.4 version that very few people would need specifically.
修改文件时间
将文件时间修改为当前时间的前一年
删除文件