代码搜索:self
找到约 10,000 项符合「self」的源代码
代码结果 10,000
www.eeworm.com/read/411228/2190730
py button2.py
from Tkinter import *
class GUI:
def __init__(self):
self.root = Tk()
self.root.title('Button Styles')
for bdw in range(5):
setattr(self, 'of%d' % bdw, Fram
www.eeworm.com/read/411228/2190731
py panel2.py
from Tkinter import *
class GUI:
def __init__(self):
self.root = Tk()
self.root.title('Frame Styles')
for bdw in range(5):
setattr(self, 'of%d' % bdw, Frame
www.eeworm.com/read/411228/2190864
py frame2.py
from Tkinter import *
class GUI:
def __init__(self):
self.root = Tk()
self.root.title('Frame Styles')
for bdw in range(5):
setattr(self, 'of%d' % bdw, Frame
www.eeworm.com/read/411228/2190865
py button2.py
from Tkinter import *
class GUI:
def __init__(self):
self.root = Tk()
self.root.title('Button Styles')
for bdw in range(5):
setattr(self, 'of%d' % bdw, Fram
www.eeworm.com/read/411228/2190866
py panel2.py
from Tkinter import *
class GUI:
def __init__(self):
self.root = Tk()
self.root.title('Frame Styles')
for bdw in range(5):
setattr(self, 'of%d' % bdw, Frame
www.eeworm.com/read/239567/4597788
py testselectionextensioncontrolifpart.py
class A:
def test(self):
if (1 == 2):
print "foo"
else:
print "bar"
anAttribute = "hello"
def myMethod(self):
print self
www.eeworm.com/read/239567/4597789
py testselectionextensionif.py
class A:
def test(self):
if (2 == 3):
print "foo"
else:
print "bar"
anAttribute = "hello"
def myMethod(self):
print self
www.eeworm.com/read/239567/4597790
py testselectionextensionexpr2.py
class A:
def test(self):
print "Initializing A"
anAttribute = "hello"
def myMethod(self):
print self.anAttribute
a = A()
a.test()
##c
'''
www.eeworm.com/read/239567/4597791
py testselectionextensioncontrolwhile.py
class A:
def test(self):
a = 1
while (a < 2):
a += 1
var = a * a
print var
def myMethod(self):
print self.anAttribute
www.eeworm.com/read/239567/4597793
py testselectionextensionstmt.py
class A:
def test(self):
print "Initializing A"
anAttribute = "hello"
def myMethod(self):
print self.anAttribute
a = A()
a.test()
##c
'''