Guest User

Untitled

a guest
Nov 17th, 2018
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. # ㅈ같은 파이썬 뜯어서 사용할때
  2.  
  3. def dump(name, obj):
  4. print('<%s>: %s' % (name, type(obj)))
  5. for attr in dir(obj):
  6. if hasattr( obj, attr ):
  7. print('<%s.%s = %s>' % (name, attr, getattr(obj, attr)))
Add Comment
Please, Sign In to add comment