About
Pricing
Community
Teams
Start Free Trial
Log in
LuckyLucks
asked on
12/17/2015
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.
Python
1
1
Last Comment
pepr
8/22/2022 - Mon