How To Get Value Of Object In Python