Created
November 8, 2013 05:23
-
-
Save prog-mitsu/7366632 to your computer and use it in GitHub Desktop.
対象オブジェクトが所持している属性名をひとつずつprint
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 対象オブジェクトが所持している属性名をひとつずつprint | |
| def printObjAttribute(targetObj): | |
| logging.info("------------------------------"); | |
| for attr in dir(targetObj): | |
| logging.info(attr); | |
| logging.info("------------------------------"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment