0%
简介
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
| import name_and_age
class Yourfather: pass class Yourmother: our_doge = 'xiaogou' def __init__(self,name): self.__name = name print(self.__name) def talk(self): pass print(__name__)
print(dir()) print(dir(Yourmother))
mother = Yourmother('chen') print(mother.__dir__()) print(type(name_and_age)) print(type(__builtins__))
|