LuckyLucks
asked on
converting return from type() function in python to string
Hi
i have a return type from the type() function in python. I would like to convert this to string? is it possible and how?
something that would look like this:
<type 'A'>.tostring()
The __sr__ and __repr__ don't exist in class A.
i have a return type from the type() function in python. I would like to convert this to string? is it possible and how?
something that would look like this:
<type 'A'>.tostring()
The __sr__ and __repr__ don't exist in class A.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.