摘要:
sql: # windows终端进入mysql # mysql -u用户名 -p密码 -h远程ip地址 mysql -uroot -proot # 退出 exit quit # sql语句最后都要有分号";"结尾 # 终端查看mysql版本 select version(); # 显示当前时间 se 阅读全文
摘要:
代码: 阅读全文
摘要:
方法: 1 # -*- coding:utf-8 -*- 2 # 1.__doc__ 表示类的描述信息 3 class Foo(object): 4 """ 描述类信息1234 """ 5 def func(self): 6 pass 7 print(Foo.__doc__) # 描述类信息1234 阅读全文