#NEWLINE# def getComputedStyle( element , style = None ) : #NEWLINE# #INDENT# '\n    Get computed style of an element, like in\n    http://efreedom.com/Question/1-1848445/Duplicating-Element-Style-JavaScript\n    ' #NEWLINE# element_style = element . currentStyle #NEWLINE# if style : #NEWLINE# #INDENT# return element_style [ style ] #NEWLINE# #UNINDENT# return element_style