模块中的__all__ 例如模块制作中自定义的hm_itcast.py # 定义一个全局变量 name = "自定义模块" # 定义一个函数求和 def add2num(a, b): return a + b # 自定义一个人类 class Person(object): pass # 定义一个函数 ...
分类:
其他好文 时间:
2020-05-13 17:21:51
阅读次数:
63
1、以管理员身份登陆sonarQube平台 默认的管理员用户帐号是:admin/admin 2、进入Administration选项 3、选择marketplace 4、在Plugins当中,选择All,在All中找到Chinese Pack,点击Install 5、等待安装完成,重启服务。 6、等 ...
分类:
其他好文 时间:
2020-05-13 16:44:29
阅读次数:
53
DECLARE @table TABLE( id INT NOT NULL ,cityName NVARCHAR(100) ,parentId int NOT null)INSERT INTO @table( id, cityName, parentId)SELECT 1,'湖南省',0 UNION ...
分类:
数据库 时间:
2020-05-13 13:53:53
阅读次数:
105
小白 有了一个服务器, 当然是先换 yum源 (因为是 云服务器 可以随意换系统)华为云 wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-6.repo yum clean all yum ...
分类:
其他好文 时间:
2020-05-13 12:40:22
阅读次数:
186
This time you are asked to tell the difference between the lowest grade of all the male students and the highest grade of all the female students. Inp ...
分类:
其他好文 时间:
2020-05-12 15:19:35
阅读次数:
71
题目 Suppose a bank has K windows open for service. There is a yellow line in front of the windows which devides the waiting area into two parts. All th ...
分类:
其他好文 时间:
2020-05-12 14:14:19
阅读次数:
70
1.promise常用方法 Promise.all() Promise.race() Promise.resolve() Promise.reject() Promise.prototype.catch() Promise.prototype.finally() Promise.prototype. ...
分类:
其他好文 时间:
2020-05-12 14:14:01
阅读次数:
90
DECLARE @table TABLE( id INT IDENTITY(1,1), name VARCHAR(100) null) INSERT INTO @table( name)SELECT NULL UNION ALLSELECT 'aa' UNION ALLSELECT 'bb' UNI ...
分类:
数据库 时间:
2020-05-12 13:50:35
阅读次数:
78
翻译:疯狂的技术宅来源:Chromium Blog原文标题:So long, and thanks for all the Flash英文原文:https://blog.chromium.org/2017/07/so-long-and-thanks-for-all-flash.html 今天早上(译 ...
分类:
其他好文 时间:
2020-05-12 11:54:41
阅读次数:
96
https://pan.baidu.com/component/view?id=455 https://pan.baidu.com/union/smartProgramShare?scheme=bdnetdisk://n/action.EXTERNAL_ACTIVITY?type=invitatio ...
分类:
其他好文 时间:
2020-05-12 11:39:26
阅读次数:
590