Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- >>> class OnlyNeedOne:
- ... def Talk( self, arg ):
- ... print "I'm %s and I'm here to say %s" % ( self.member, arg )
- ... member = 'the only one of my class'
- ...
- >>> OnlyNeedOne().Talk('hello')
- I'm the only one of my class and I'm here to say hello
Add Comment
Please, Sign In to add comment