代码搜索:self
找到约 10,000 项符合「self」的源代码
代码结果 10,000
www.eeworm.com/read/279234/10452753
py employee.py
# Fig: 27.24 Employee.py
# An employee class
class Employee:
def __init__( self, first, last ):
self.firstName = first
self.lastName = last
def __str__( self ):
retu
www.eeworm.com/read/279234/10453521
pm circular.pm
#!/usr/bin/perl
# Fig. 14.18: Circular.pm
# Using the DESTROY function to destroy objects.
package Circular;
use strict;
use warnings;
sub new {
my $class = shift();
my $a;
www.eeworm.com/read/470729/6907226
cpp kwqglobalservices.cpp
/*
* Copyright (c) 2005 Nokia Corporation, Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the foll
www.eeworm.com/read/299182/7881013
py a11.py
# -*- coding: cp936 -*-
#第十一章----智能游戏
#《c趣味编程》86-93题
#21:39 2007-1-23
from random import shuffle
class caigame:
win=False
flag=False
life=12
what=-1
s1=''
map1=[]
www.eeworm.com/read/296686/8081346
py combobox.py
import wx
#---------------------------------------------------------------------------
class TestComboBox(wx.Panel):
def OnSetFocus(self, evt):
print "OnSetFocus"
evt.S
www.eeworm.com/read/296686/8081755
py pyplot.py
import wx
hadImportError = False
try:
import wx.lib.plot
except ImportError:
hadImportError = True
################################################################\
# Wher
www.eeworm.com/read/296686/8081826
py filedialog.py
import os
import wx
#---------------------------------------------------------------------------
# This is how you pre-establish a file filter so that the dialog
# only shows the extension
www.eeworm.com/read/296686/8081873
py colourdb.py
import wx
import wx.lib.colourdb
import images
#----------------------------------------------------------------------
class TestWindow(wx.ScrolledWindow):
def __init__(self, parent
www.eeworm.com/read/296686/8082197
py multiplechoicedialog.py
import wx
import wx.lib.dialogs
#---------------------------------------------------------------------------
class TestPanel(wx.Panel):
def __init__(self, parent, log):
self.l