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

📄 importer.py

📁 Python Development Environment (Python IDE plugin for Eclipse). Features editor, code completion, re
💻 PY
字号:
import logging
logger = logging.getLogger('myapp') 

initialNone = None

class Foo(object):
    def m1(self):
        pass

initialSet = Foo()

class WithGetAttr(object):
    
    def __getattribute__(self, attr):
        return attr
    
getWithAttr = WithGetAttr()

class ChildWithGetAttr(WithGetAttr):
	pass

childGetWithAttr = ChildWithGetAttr()

class Struct:
    '''@DynamicAttrs
    '''
    def __init__(self, **entries): 
        self.__dict__.update(entries)
    
globals_struct = Struct(answer=42, linelen = 80, font='courier')

⌨️ 快捷键说明

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