testselectionextensiontrybody.py
来自「Python Development Environment (Python I」· Python 代码 · 共 31 行
PY
31 行
class A:
def test(self):
a = 1
try:
print a
print "foo"
except:
print b
print "bar"
var = a * a
print var
def myMethod(self):
print self.anAttribute
a = A()
a.test()
##c selection starts at the first char, but we have to normalize indentation!
'''
<config>
<offset>68</offset>
<selectionLength>31</selectionLength>
</config>
'''
##r
print a
print "foo"
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?