自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(11)
  • 收藏
  • 关注

原创 Python函数的参数那些事

The terms parameter and argument can be used for the same thing: information that are passed into a function. From a function’s perspective: A parameter is the variable listed inside the parentheses in the function definition. An argument is the value that

2021-03-22 15:39:17 219

原创 Dive into Python3 重点摘录(chapter5-6)

Compile a regular expression pattern into aregular expression object, which can be used for matching using itsmatch(),search()and other methods, described below. prog = re.compile(pattern) result = prog.match(string)...

2020-10-25 11:10:23 189

原创 Dive into Python3 重点摘录 (chapter4)

Python 3 supportsformattingvalues into strings. Although this can include very complicated expressions, the most basic usage is to insert a value into a string with a single placeholder. There’s a lot going on here. First, that’s a method call on a stri..

2020-10-10 11:51:19 266

原创 Dive into python3 重点摘录(chapter3)

Python 3 comes with a module calledos, which stands for “operating system.” Theosmodulecontains a plethora of functions to get information on—and in some cases, to manipulate—local directories, files, processes, and environment variables. Python do...

2020-10-08 15:19:00 150

原创 Dive into python3 重点摘录(chapter 1-2)

In fact, every Python function returns a value; if the function ever executes areturnstatement, it will return that value, otherwise it will returnNone, the Python null value Reading the argument list from left to right, once you have a single named ar...

2020-10-07 15:08:47 242

原创 Python:当父类拥有同名的方法

继承作为面向对象的三大特性之一,为我们的编程带来极大的便利,更好地掌握继承能够让我们写出更加优美简洁的代码。本篇博客意在让读者了解当父类拥有同名方法时,子类继承方法的规则。首先观察以下两个示例:class A: def method1(self): print('A') class B: def method1(self): print('B') def method2(self): print('B')class C:

2020-07-01 15:38:39 824

原创 HTML+CSS实现彩虹文字与聚光灯动画(background-clip和clip-path相关属性)

前端相较于后端等领域,能够在短时间内拥有可视化的成果,对于刚起步的小伙伴而言,这是不断努力学习提高的巨大动力,本篇博客抛砖引玉,利用HTML+CSS实现彩虹文字以及聚光灯动画效果,首先向大家介绍应用的CSS的主要属性background-clip:Thebackground-clipCSS property sets whether an element's background extends underneath its border box, padding box, or content b..

2020-05-21 11:46:53 1020

原创 深入剖析width与max-width/min-width属性(百分比)

本博客意在剖析width与max-width/min-width属性width和max-width/min-width属性均属于CSS中常用属性,其中width属性设置元素的宽度。默认情况下,它会设置内容区域的宽度,但是如果box-sizing设置为border-box,它会设置边框区域的宽度 max-width/min-width属性设置元素的最大/最小宽度。它可以防止使用的width属性值变得比max-width指定的值大/小,值得注意的是,min-width属性会覆盖max-width属性,

2020-05-20 12:01:04 6932 9

原创 Shell编程-正则表达式及正则表达式在线测试网站

在正文开始之前向大家介绍一个在线的很好用的正则表达式规则测试的网站 https://regex101.com/本文简要介绍Shell编程中正则表达式的相关内容,所谓正则表达式(regular expression)是指一种字符串匹配的模式(pattern),其可以用来检查一个串是否含有某种子串、将匹配的子串替换或者从某个串中取出符合某个条件的子串等。值得一提的是,不同的编程语言的正则表...

2020-04-11 11:15:10 2266

原创 如何在windows容器内安装Horizon Connection Server

前言: 部门最近一段时间内开发,运维的这个SaaS服务叫做HLCM,全称是Horizon Lifecycle Management, 这个部署和升级服务可以帮助客户在VMware运维的 VMware Cloud on AWS(简称VMC) 数据中心内,自动部署一套即时可用的Horizon View环境。对于Horizon View来说,Horizon Connection Ser...

2019-09-01 22:56:32 1508

原创 解决在windows server 2019 上安装Docker遇到Cannot verify the file SHA256. Deleting the file等问题

当运行命令 :Install-Package -Name docker -ProviderName DockerMsftProvider时出现以下问题:WARNING: Cannot verify the file SHA256. Deleting the file.WARNING: C:\Users\ADMINI~1\AppData\Local\Temp\2\DockerMsftProvi...

2019-08-22 17:37:55 2957

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除