⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 agrepy.py

📁 These files contain a port, to Python of the inexact string matching functionality of agrep.
💻 PY
字号:
# This file was created automatically by SWIG.# Don't modify this file, modify the SWIG interface instead.# This file is compatible with both classic and new-style classes.import _agrepydef _swig_setattr(self,class_type,name,value):    if (name == "this"):        if isinstance(value, class_type):            self.__dict__[name] = value.this            if hasattr(value,"thisown"): self.__dict__["thisown"] = value.thisown            del value.thisown            return    method = class_type.__swig_setmethods__.get(name,None)    if method: return method(self,value)    self.__dict__[name] = valuedef _swig_getattr(self,class_type,name):    method = class_type.__swig_getmethods__.get(name,None)    if method: return method(self)    raise AttributeError,nameimport typestry:    _object = types.ObjectType    _newclass = 1except AttributeError:    class _object : pass    _newclass = 0del typescompile = _agrepy.compileagrepy = _agrepy.agrepy

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -