Object Inpection :-
class Employee:
def test(self):
pass
def kaka(self):
pass
import inspect
best = Employee()
# agar ye class hogi to return kar denga
print(inspect.isclass(Employee))
Object Inpection :-
class Employee:
def test(self):
pass
def kaka(self):
pass
import inspect
best = Employee()
# agar ye class hogi to return kar denga
print(inspect.isclass(Employee))
0Comments
Thanks you for commenting your questions. I will see question and respond you.