Advertisement
TristanSld

methods in dictionaries

Jan 10th, 2014
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.17 KB | None | 0 0
  1. #!/usr/bin/env python
  2. #-*-coding:utf-8-*-
  3. print dir(dict) or dir({}),"\n"
  4. #veya
  5. d={}
  6. print dir(d),"\n"
  7. for i in dir(dict):
  8.     if "_" not in i[0]:
  9.         print i
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement