ToonTown-Hacks
Would you like to react to this message? Create an account in a few clicks or log in to continue.


This forum was made becouse of noobs!
 
HomeLatest imagesSearchRegisterLog in

 

 Code used to Find Codes

Go down 
AuthorMessage
Max

Max


Posts : 1
Join date : 2010-06-26
Age : 29
Location : CA, Fontana

Code used to Find Codes Empty
PostSubject: Code used to Find Codes   Code used to Find Codes EmptySun Jun 27, 2010 9:42 pm

Theres are for the Hackers Incase they need it again.

def getmembers(object, predicate=None):
"""Return all members of an object as (name, value) pairs sorted by name.
Optionally, only return members that satisfy a given predicate."""
results = []
for key in dir(object):
value = getattr(object, key)
if not predicate or predicate(value):
results.append((key, value))
print key,value
results.sort()
return results
getmembers [[<<Enter Class Here>>]]

Back to top Go down
http://ToontownHangout.webs.com
 
Code used to Find Codes
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
ToonTown-Hacks :: Anything Else-
Jump to: