文件操作 - warnings.h
返回文件管理
返回主菜单
删除本文件
文件: /opt/alt/python313/include/python3.13/cpython/warnings.h
编辑文件内容
#ifndef Py_CPYTHON_WARNINGS_H # error "this header file must not be included directly" #endif PyAPI_FUNC(int) PyErr_WarnExplicitObject( PyObject *category, PyObject *message, PyObject *filename, int lineno, PyObject *module, PyObject *registry); PyAPI_FUNC(int) PyErr_WarnExplicitFormat( PyObject *category, const char *filename, int lineno, const char *module, PyObject *registry, const char *format, ...); // DEPRECATED: Use PyErr_WarnEx() instead. #define PyErr_Warn(category, msg) PyErr_WarnEx((category), (msg), 1)
修改文件时间
将文件时间修改为当前时间的前一年
删除文件