自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

公子聪的博客

简单记录

  • 博客(27)
  • 收藏
  • 关注

原创 问题解决:AttributeError: ‘NoneType‘ object has no attribute ‘append‘

python中append()方法使用报错解决:AttributeError: 'NoneType' object has no attribute 'append'

2022-06-28 22:28:18 4995

原创 git merge合并分支冲突,出现 Automatic merge failed;fix conflicts and then commit the result.

git merge 合并分支冲突,出现 Automatic merge failed;fix conflicts and then commit the result.

2022-06-27 18:14:07 6394 2

原创 问题解决:[rejected] master -> master (fetch first)

git 中 ![rejected] master -> master (fetch first) 问题的解决

2022-04-29 11:44:35 7562 1

原创 python中 range 与 arange 的用法与区别:

python中 range 与 arange 的用法与区别

2022-04-24 22:25:32 5257

原创 问题解决:dpkg-deb: error: package name has characters that aren‘t lowercase alphanums or ‘-+.‘

问题解决:dpkg-deb: error: package name has characters that aren't lowercase alphanums or '-+.'

2022-04-20 14:55:58 2659

原创 .deb文件的解压与压缩

Linux中.deb文件的解压与压缩

2022-04-18 16:08:01 39267

原创 问题解决:ValueError: Could not locate a VISA implementation. Install either the NI binary or pyvisa-py.

ValueError: Could not locate a VISA implementation. Install either the NI binary or pyvisa-py.的解决方法。

2022-04-11 19:35:40 5536

转载 Python 中常用处理字符串的相关函数

Python 中处理字符串的一些常用函数

2022-04-10 17:06:29 384

原创 git lfs clone 克隆大项目仓库

使用 git lfs clone 解决了 git clone 无法克隆大文件的问题

2022-04-07 17:46:23 11126

原创 删除gitlab仓库上的master分支

删除gitlab仓库上的master分支

2022-03-04 15:11:18 4987

原创 gitlab上给项目添加指定成员

在gitlab上给项目仓库添加指定成员

2022-03-03 11:11:17 40085

原创 新建github分支

新建github分支,可以 直接在github仓库上创建 或者 通过git命令创建。

2022-03-02 14:14:34 15733 3

原创 Python异常处理语句try...except...else...finally...

python异常处理语句try...except...else...finally...,及finally语句的作用

2022-02-28 01:06:16 3479 1

原创 Python异常处理语句 try...except...else...

python异常处理语句try...except...else...

2022-02-25 18:22:52 1973

原创 Python的异常处理try...except...

python的异常处理try...except...

2022-02-23 18:19:11 6490

原创 Python常见的异常类型

python出现异常的常见类型

2022-02-22 11:49:00 13571

原创 ping命令的常用参数

ping命令一些常用的参数

2022-02-17 19:26:45 24655

原创 python中 for _ in range (n) 中“_”的意思

python中 for _ in range (n) 中'_'的意思

2022-02-07 00:43:17 2489

原创 python字典之间进行加减运算

实现python字典之间的相加减

2022-02-03 23:59:53 9643 2

原创 Git创建本地分支及其远程分支

Git创建本地分支及远程分支

2022-02-02 22:25:10 578

原创 strlen和sizeof的区别

strlen和sizeof的区别

2022-01-20 17:10:58 8041

原创 C语言:while后接分号“;”与不接分号“;”的区别

C语言:while循环中while后接分号“;”与不接分号“;”的区别

2022-01-16 22:21:02 13925 5

原创 python错误:line too long

python将一行长代码拆分成多行代码的常用方法

2022-01-10 20:49:07 6607

转载 修改gitlab远程分支名称

通过git命令修改gitlab远程分支名称

2022-01-08 12:12:58 5205

原创 新建gitlab分支

通过直接在gitlab上操作以及使用Git命令来新建gitlab仓库的分支。

2022-01-04 21:41:05 61347 1

原创 删除gitlab上仓库的分支

通过git命令以及在gitlab上操作来删除gitlab上仓库的分支

2022-01-01 21:32:14 53572 1

原创 问题解决:TypeError: ‘Mock‘ object is not subscriptable

解决了一个python单元测试中遇到的问题:TypeError: ‘Mock‘ object is not subscriptable...

2021-12-31 18:13:25 1312

空空如也

空空如也

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

TA关注的人

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