converting object ref to value????

Ken Godee ken at perfect-image.com
Sun Oct 19 03:46:56 EDT 2003


I'm confused, I have a class returning a value from
a method of that class and I'm getting a reference
to the object instead of the actual returned value.
How can I convert it back to an actual value I can use for
further processing?

ie.

import manager

a = manager.Manager()

xx = a.connect()

print xx

<manager.Manager object at 0x81d7034>








More information about the Python-list mailing list