def checkOut(thing,html=True):
msg="<STR_LIT>"<EOL>for name in sorted(dir(thing)):<EOL><INDENT>if not "<STR_LIT>" in name:<EOL><INDENT>msg+="<STR_LIT>"%name<EOL>try:<EOL><INDENT>msg+="<STR_LIT>"%getattr(thing,name)()<EOL><DEDENT>except:<EOL><INDENT>pass<EOL><DEDENT><DEDENT><DEDENT>if html:<EOL><INDENT>html='<STR_LIT>'+msg+'<STR_LIT>'<EOL>html=html.replace("<STR_LIT:U+0020>","<STR_LIT>").replace("<STR_LIT:\n>","<STR_LIT>")<EOL>fname = tempfile.gettempdir()+"<STR_LIT>"<EOL>with open(fname,'<STR_LIT:w>') as f:<EOL><INDENT>f.write(html)<EOL><DEDENT>webbrowser.open(fname)<EOL><DEDENT>print(msg.replace('<STR_LIT>','<STR_LIT>').replace('<STR_LIT>','<STR_LIT>'))<EOL>
show everything we can about an object's projects and methods.