07 2020 档案

摘要:# ### 代码块 : 用冒号作为开始,用缩进来划分相同的作用域 """作用域: 作用范围""" # 基本使用 """代码块是一个整体,在条件满足时,会一并执行,否则一并不执行""" if 10 == 10: print(1) print(2) print(3) # 注意点 """在使用代码时,要么 阅读全文
posted @ 2020-07-29 09:19 Mr'liu 阅读(182) 评论(0) 推荐(0) 编辑
摘要:# ### 变量的缓存机制 (仅对python3.6版本负责)# -->Number 部分(int,float.bool,complex)# 1.对于整数而言,-5~正无穷范围内的相同值,id一致var1 = 10var2 = 10var1 = -100var2 = -100print(id(var 阅读全文
posted @ 2020-07-23 15:20 Mr'liu 阅读(234) 评论(0) 推荐(0) 编辑
摘要:问题故障:Mysql数据库意外崩溃,一直无法启动数据库。报错日志: 启动报错:service mysqld restartERROR! MySQL server PID file could not be found!Starting MySQL. ERROR! The server quit wi 阅读全文
posted @ 2020-07-20 10:42 Mr'liu 阅读(4492) 评论(0) 推荐(0) 编辑
摘要:#### 一:注释#注释:对代码的解释#注释快捷键:notepod++: ctrl + q / pychorm: ctrl + / |ctrl + z 撤销 | ctrl + y 反撤销'''代码注释原则:不用给全部代码加注释,只需要在自己觉得重要或不好理解的部分加注释即可注释可以用中文或英文,但绝 阅读全文
posted @ 2020-07-16 09:34 Mr'liu 阅读(353) 评论(1) 推荐(1) 编辑
摘要:kubectl cp 命令使用 kubectl cp --helpCopy files and directories to and from containers.Examples:# !!!Important Note!!!# Requires that the 'tar' binary is 阅读全文
posted @ 2020-07-09 14:50 Mr'liu 阅读(65436) 评论(0) 推荐(1) 编辑

点击右上角即可分享
微信分享提示