testselectionextensioncontrolifpart.py
来自「Python Development Environment (Python I」· Python 代码 · 共 28 行
PY
28 行
class A:
def test(self):
if (1 == 2):
print "foo"
else:
print "bar"
anAttribute = "hello"
def myMethod(self):
print self.anAttribute
a = A()
a.test()
##c
'''
<config>
<offset>37</offset>
<selectionLength>2</selectionLength>
<offsetStrategy>0</offsetStrategy>
</config>
'''
##r
if (1 == 2):
print "foo"
else:
print "bar"
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?