摘要:
class LazyImport: def __init__(self,module_name): self.module_name = module_name self.module = None def __getattr__(self,n... 阅读全文
摘要:
#使用str.format()函数 #使用'{}'占位符 print('I\'m {},{}'.format('Hongten','Welcome to my space!')) >>> I'm Hongten,Welcome to my space! print('#' * 40) #... 阅读全文