<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[songyuchaoshi的博客]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/songyuchaoshi</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; songyuchaoshi]]></copyright><item><title><![CDATA[python快速选择排序思路及方法]]></title><link>https://blog.csdn.net/songyuchaoshi/article/details/128943827</link><guid>https://blog.csdn.net/songyuchaoshi/article/details/128943827</guid><author>songyuchaoshi</author><pubDate>Thu, 09 Feb 2023 00:02:40 +0800</pubDate><description><![CDATA[然后我们会将剩余数组进行分区，分为较大区域和较小区域，假设大区域和小区域都是无需排序的有序数组，那么我们将小区域加上基准加上大区域，就是最后我们排序后所需要的数组
那么我只需要把大区域和小区域进行递归直到大区域和小区域都完成排序。
代码部分：]]></description><category></category></item><item><title><![CDATA[python处理文件常用到的函数]]></title><link>https://blog.csdn.net/songyuchaoshi/article/details/127492537</link><guid>https://blog.csdn.net/songyuchaoshi/article/details/127492537</guid><author>songyuchaoshi</author><pubDate>Mon, 24 Oct 2022 14:46:01 +0800</pubDate><description><![CDATA[python文件夹处理]]></description><category></category></item><item><title><![CDATA[宇视科技的摄像头添加至别的品牌录像机黑屏]]></title><link>https://blog.csdn.net/songyuchaoshi/article/details/123243232</link><guid>https://blog.csdn.net/songyuchaoshi/article/details/123243232</guid><author>songyuchaoshi</author><pubDate>Wed, 02 Mar 2022 23:41:52 +0800</pubDate><description><![CDATA[step1:确认摄像头单独登录网页界面是否正常？（以下步骤是摄像头单独登录正常，在录像机里面显示不出来，放大或者缩小都会黑屏的解决步骤）
在解决问题之前，先明白一个问题，录像机观看大画面的视频，取的是摄像头的主码流，观看小画面取的是辅码流。
发现大画面黑屏，首先就要看，摄像头是多少万像素的，是否超出录像机的最大解码能力，如果没有超出依然黑屏，因为宇视的H265与其他厂家的H265兼容性不是很好（宇视采用国际标准协议的H265，而三方的H265协议大多迎合主流厂家的非国际标准协议），所以建议在录像机和摄像头上]]></description><category></category></item><item><title><![CDATA[送给需要剪辑视频的你-----剪辑的软件和录屏的软件，以及格式转换软件，超级好用]]></title><link>https://blog.csdn.net/songyuchaoshi/article/details/122292216</link><guid>https://blog.csdn.net/songyuchaoshi/article/details/122292216</guid><author>songyuchaoshi</author><pubDate>Mon, 03 Jan 2022 20:38:23 +0800</pubDate><description><![CDATA[格式转化工具：
链接：https://pan.baidu.com/s/15Opx9EmFWKkCavm-la5DZg
提取码：twoi
录屏工具：
链接：https://pan.baidu.com/s/1haTnDsjrp-rdebV-_xTerQ
提取码：wcs2
剪辑软件：
链接：https://pan.baidu.com/s/1UvIOhZjjaZarFM7k3Iwc0A
提取码：5jeg

...]]></description><category></category></item><item><title><![CDATA[宇视录像机激活海康摄像头的密码是什么？]]></title><link>https://blog.csdn.net/songyuchaoshi/article/details/122113914</link><guid>https://blog.csdn.net/songyuchaoshi/article/details/122113914</guid><author>songyuchaoshi</author><pubDate>Thu, 23 Dec 2021 18:26:32 +0800</pubDate><description><![CDATA[海康摄像机激活密码Admin123、Uniview666、Ipc123456

]]></description><category></category></item><item><title><![CDATA[宇视科技的录像机添加海康的摄像头提示用户名或密码错误]]></title><link>https://blog.csdn.net/songyuchaoshi/article/details/122113505</link><guid>https://blog.csdn.net/songyuchaoshi/article/details/122113505</guid><author>songyuchaoshi</author><pubDate>Thu, 23 Dec 2021 18:24:56 +0800</pubDate><description><![CDATA[排查思路：
step1:确认摄像头的密码没有问题
step2:需要在海康的摄像头里面进行配置，配置如下
进入海康摄像头的网页界面，配置----系统-----安全管理-----安全服务-----去掉开启非法登陆锁定（默认勾上的）------保存。（不同版本界面可能不同）

配置—网络----高级配置-----集成协议-----启用ONVIF（勾选上，现在也有另一种叫法，但就是在这个界面）—点击添加-----新增用户名（注意用户不能是admin，密码可以设置的一样，一定要记住！！！）------点击保存。

接]]></description><category></category></item><item><title><![CDATA[算法之-------选择排序python]]></title><link>https://blog.csdn.net/songyuchaoshi/article/details/116466109</link><guid>https://blog.csdn.net/songyuchaoshi/article/details/116466109</guid><author>songyuchaoshi</author><pubDate>Fri, 07 May 2021 00:08:56 +0800</pubDate><description><![CDATA[什么是选择排序？
第一次从待排序的数据元素中选出最小（或最大）的一个元素，存放在序列的起始位置，然后再从剩余的未排序元素中寻找到最小（大）元素，然后放到已排序的序列的末尾。以此类推，直到全部待排序的数据元素的个数为零。选择排序是不稳定的排序方法。
代码实现：
a = [1,3,6,2,9,0]

for i in range(len(a)-1):
    b = []
    for key in range(i+1,len(a)):
        b.append(a[key])
    tmp = m]]></description><category></category></item><item><title><![CDATA[leetcode每日一题----最长公共前缀（农业银行管培岗编程题）]]></title><link>https://blog.csdn.net/songyuchaoshi/article/details/115861021</link><guid>https://blog.csdn.net/songyuchaoshi/article/details/115861021</guid><author>songyuchaoshi</author><pubDate>Wed, 21 Apr 2021 18:48:54 +0800</pubDate><description><![CDATA[题目描述：
编写一个函数来查找字符串数组中的最长公共前缀。

如果不存在公共前缀，返回空字符串 ""。

 

示例 1：

输入：strs = ["flower","flow","flight"]
输出："fl"
示例 2：

输入：strs = ["dog","racecar","car"]
输出：""
解释：输入不存在公共前缀。

实现代码：

...]]></description><category></category></item><item><title><![CDATA[python如何将列表的所有元素转变成一个字符或列表拼接成一个字符串]]></title><link>https://blog.csdn.net/songyuchaoshi/article/details/115864744</link><guid>https://blog.csdn.net/songyuchaoshi/article/details/115864744</guid><author>songyuchaoshi</author><pubDate>Mon, 19 Apr 2021 14:51:47 +0800</pubDate><description><![CDATA[&gt;&gt;&gt; ls1 = ['a', 1, 'b', 2]
&gt;&gt;&gt; ls2 = [str(i) for i in ls1]
&gt;&gt;&gt; ls2
['a', '1', 'b', '2']
&gt;&gt;&gt; ls3 = ''.join(ls2)
&gt;&gt;&gt; ls3
'a1b2'


]]></description><category></category></item><item><title><![CDATA[leetcode将罗马数字转化为整数]]></title><link>https://blog.csdn.net/songyuchaoshi/article/details/115860926</link><guid>https://blog.csdn.net/songyuchaoshi/article/details/115860926</guid><author>songyuchaoshi</author><pubDate>Mon, 19 Apr 2021 11:26:54 +0800</pubDate><description><![CDATA[题目描述：
罗马数字包含以下七种字符: I， V， X， L，C，D 和 M。

字符          数值
I             1
V             5
X             10
L             50
C             100
D             500
M             1000
例如， 罗马数字 2 写做 II ，即为两个并列的 1。12 写做 XII ，即为 X + II 。 27 写做  XXVII, 即为 XX + V + II]]></description><category></category></item><item><title><![CDATA[搭建lnmp架构及其优点]]></title><link>https://blog.csdn.net/songyuchaoshi/article/details/115800557</link><guid>https://blog.csdn.net/songyuchaoshi/article/details/115800557</guid><author>songyuchaoshi</author><pubDate>Sun, 18 Apr 2021 11:13:09 +0800</pubDate><description><![CDATA[部署nginx：
yum install -y  gcc  pcre-devel openssl-devel   ##安装
./configure --prefix=/usr/local/bin/nginx   --with-http_ssl_module --with-file-aio --with-http_stub_status_module
make &amp;&amp; make install

将nginx的目录加入环境变量：
vim /root/.bash_profile 


nginx
]]></description><category></category></item><item><title><![CDATA[Device /dev/sdb excluded by a filter]]></title><link>https://blog.csdn.net/songyuchaoshi/article/details/115803550</link><guid>https://blog.csdn.net/songyuchaoshi/article/details/115803550</guid><author>songyuchaoshi</author><pubDate>Sat, 17 Apr 2021 22:52:35 +0800</pubDate><description><![CDATA[解决办法

]]></description><category></category></item><item><title><![CDATA[pycharm常用快捷键]]></title><link>https://blog.csdn.net/songyuchaoshi/article/details/115767938</link><guid>https://blog.csdn.net/songyuchaoshi/article/details/115767938</guid><author>songyuchaoshi</author><pubDate>Fri, 16 Apr 2021 17:19:58 +0800</pubDate><description><![CDATA[]]></description><category></category></item><item><title><![CDATA[字节面试手撕代码题-----利用已知函数表示出其他数字]]></title><link>https://blog.csdn.net/songyuchaoshi/article/details/115762606</link><guid>https://blog.csdn.net/songyuchaoshi/article/details/115762606</guid><author>songyuchaoshi</author><pubDate>Fri, 16 Apr 2021 17:13:44 +0800</pubDate><description><![CDATA[原题：

代码：
import random
b = []
def f():    ##自己写的函数实现这个f函数功能，随机产生1-5数字
    c = random.randint(1, 5)
    return c
while  len(b) &lt;3:   ##保证能够随机生成三个数字
    f1 = f()    ##根据生成的数字，等1/2概率生成0或者1，这样三位的就能生成0-7范围的数字
    if f1 &gt; 3:
        c = 1
    if f1 &lt; 3:]]></description><category></category></item><item><title><![CDATA[TypeError: int() can‘t convert non-string with explicit base]]></title><link>https://blog.csdn.net/songyuchaoshi/article/details/115750754</link><guid>https://blog.csdn.net/songyuchaoshi/article/details/115750754</guid><author>songyuchaoshi</author><pubDate>Fri, 16 Apr 2021 10:41:06 +0800</pubDate><description><![CDATA[1、错误描述
 int(67,8);

运行结果：
Traceback (most recent call last):
  File "&lt;pyshell#172&gt;", line 1, in &lt;module&gt;
    int(67,8);
TypeError: int() can't convert non-string with explicit base

2、错误原因
 int()函数用来将一个字符串或数字类型转换成整数，如果只有一个参数值，这个值可以是字符串或数字；但是传入两]]></description><category></category></item><item><title><![CDATA[return 函数]]></title><link>https://blog.csdn.net/songyuchaoshi/article/details/115610489</link><guid>https://blog.csdn.net/songyuchaoshi/article/details/115610489</guid><author>songyuchaoshi</author><pubDate>Mon, 12 Apr 2021 00:30:16 +0800</pubDate><description><![CDATA[函数遇到return 就返回，不会执行后面的代码。
比如一下代码：
def fun():
    a = 1
    return 'ki'
    print('hjk')
fun()  ###并不会打印‘hjk’
print(fun())  ###打印返回的值

运行结果：


]]></description><category></category></item><item><title><![CDATA[python集合生成式，字典生成式]]></title><link>https://blog.csdn.net/songyuchaoshi/article/details/115610294</link><guid>https://blog.csdn.net/songyuchaoshi/article/details/115610294</guid><author>songyuchaoshi</author><pubDate>Mon, 12 Apr 2021 00:16:30 +0800</pubDate><description><![CDATA[result = {i**2 for i in range(10)}
print(result)

dic = {i:i**2 for i in range(10)}
print(dic)

运行结果：


]]></description><category></category></item><item><title><![CDATA[python列表生成式]]></title><link>https://blog.csdn.net/songyuchaoshi/article/details/115609924</link><guid>https://blog.csdn.net/songyuchaoshi/article/details/115609924</guid><author>songyuchaoshi</author><pubDate>Mon, 12 Apr 2021 00:12:13 +0800</pubDate><description><![CDATA[1、概念
列表生成式就是一个用来生成列表的特定语法形式的表达式，是python提供的一种生成列表的简洁形式。
2、示例
（1）生成100个4个字母的验证码，并将它存在列表中。
import random
import string
code1 = []
for count in range(100):
    code = ''.join(random.sample(string.ascii_letters,4))
    code1.append(code)
print(code1)

运行结果：

优化]]></description><category></category></item><item><title><![CDATA[python小试牛刀------查找文件中各单词出现的次数并字典方式打印（Counter模块自动计数、自动排序并以字典方式呈现）]]></title><link>https://blog.csdn.net/songyuchaoshi/article/details/115602901</link><guid>https://blog.csdn.net/songyuchaoshi/article/details/115602901</guid><author>songyuchaoshi</author><pubDate>Sun, 11 Apr 2021 18:31:36 +0800</pubDate><description><![CDATA[文件内容：
cry on my shoulder
but if you wanna cry
cry on my shoulder
if you need someone who cares for you
if you are feeling sad your heart gets colder
yes i show you what real love can do

代码实现：
with open('doc.txt') as f:
    content = f.read().split()
    c]]></description><category></category></item><item><title><![CDATA[利用python第三方库简单整理excel表格，提高工作效率！]]></title><link>https://blog.csdn.net/songyuchaoshi/article/details/115587599</link><guid>https://blog.csdn.net/songyuchaoshi/article/details/115587599</guid><author>songyuchaoshi</author><pubDate>Sun, 11 Apr 2021 01:14:22 +0800</pubDate><description><![CDATA[第一步，下载pycharm.
第二步，创建项目。
第三步：下载相关库模块。
pip install pandas -i https://pypi.douban.com/simple


如果你没有pip环境变量，则点击这里：呜呜，原址！
pip install openpyxl -i https://pypi.douban.com/simple

代码部分：
import pandas
s1 = [{'name':'kongying','age':23,'sex':'nv'},{'name':'songyu]]></description><category></category></item></channel></rss>