<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[Code 小白的博客]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/qq_44961499</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; qq_44961499]]></copyright><item><title><![CDATA[Git教程笔记]]></title><link>https://blog.csdn.net/qq_44961499/article/details/128015397</link><guid>https://blog.csdn.net/qq_44961499/article/details/128015397</guid><author>qq_44961499</author><pubDate>Fri, 25 Nov 2022 22:39:44 +0800</pubDate><description><![CDATA[Git教程笔记]]></description><category></category></item><item><title><![CDATA[判断回文字符串]]></title><link>https://blog.csdn.net/qq_44961499/article/details/127094558</link><guid>https://blog.csdn.net/qq_44961499/article/details/127094558</guid><author>qq_44961499</author><pubDate>Wed, 28 Sep 2022 18:32:34 +0800</pubDate><description><![CDATA[判断回文字符串]]></description><category></category></item><item><title><![CDATA[Vue快速入门]]></title><link>https://blog.csdn.net/qq_44961499/article/details/125642926</link><guid>https://blog.csdn.net/qq_44961499/article/details/125642926</guid><author>qq_44961499</author><pubDate>Wed, 06 Jul 2022 17:10:57 +0800</pubDate><description><![CDATA[Vue快速入门]]></description><category></category></item><item><title><![CDATA[【算法】回溯算法]]></title><link>https://blog.csdn.net/qq_44961499/article/details/125526017</link><guid>https://blog.csdn.net/qq_44961499/article/details/125526017</guid><author>qq_44961499</author><pubDate>Wed, 29 Jun 2022 17:38:03 +0800</pubDate><description><![CDATA[回溯算法]]></description><category></category></item><item><title><![CDATA[【算法】动态规划]]></title><link>https://blog.csdn.net/qq_44961499/article/details/125468396</link><guid>https://blog.csdn.net/qq_44961499/article/details/125468396</guid><author>qq_44961499</author><pubDate>Sun, 26 Jun 2022 19:44:53 +0800</pubDate><description><![CDATA[动态规划]]></description><category></category></item><item><title><![CDATA[【算法】滑动窗口]]></title><link>https://blog.csdn.net/qq_44961499/article/details/125463708</link><guid>https://blog.csdn.net/qq_44961499/article/details/125463708</guid><author>qq_44961499</author><pubDate>Sat, 25 Jun 2022 21:11:03 +0800</pubDate><description><![CDATA[滑动窗口]]></description><category></category></item><item><title><![CDATA[Python项目打包生成exe可执行文件]]></title><link>https://blog.csdn.net/qq_44961499/article/details/122435653</link><guid>https://blog.csdn.net/qq_44961499/article/details/122435653</guid><author>qq_44961499</author><pubDate>Tue, 11 Jan 2022 16:29:42 +0800</pubDate><description><![CDATA[1、在线安装第三方模块
安装方式：在dos窗口执行pip install PyInstaller
2、执行打包操作
在dos窗口执行pyinstaller -F +程序路径
举例：


]]></description><category></category></item><item><title><![CDATA[UnicodeDecodeError: ‘gbk‘ codec can‘t decode byte 0xb4 in position 26: illegal multibyte sequence]]></title><link>https://blog.csdn.net/qq_44961499/article/details/122421648</link><guid>https://blog.csdn.net/qq_44961499/article/details/122421648</guid><author>qq_44961499</author><pubDate>Mon, 10 Jan 2022 23:21:55 +0800</pubDate><description><![CDATA[使用python编程代码，读中文文件后出现报错
UnicodeDecodeError: ‘gbk’ codec can’t decode byte 0xb4 in position 26: illegal multibyte sequence
可以通过在open()方法中加入encoding=‘UTF-8’，即：file=open(‘文件名’,‘路径’,encoding=‘UTF-8’)，可有效解决报错

...]]></description><category></category></item><item><title><![CDATA[Python入门13（文件）]]></title><link>https://blog.csdn.net/qq_44961499/article/details/122421035</link><guid>https://blog.csdn.net/qq_44961499/article/details/122421035</guid><author>qq_44961499</author><pubDate>Mon, 10 Jan 2022 23:15:49 +0800</pubDate><description><![CDATA[一、字符编码格式

二、文件读取原理

读写操作

举例：准备一个a.txt

然后创建文件对象读取
readlines可以读取文件全部内容，并建立列表,读取中文时需要加上encoding=‘UTF-8’
file=open('a.txt','r',encoding='UTF-8')
print(file.readlines())
file.close()

结果：

三、常见的文件打开模式

举例：图片的复制操作：

三、文件对象的常用方法

----------------------抱歉未完待续---]]></description><category></category></item><item><title><![CDATA[Python入门12（模块）]]></title><link>https://blog.csdn.net/qq_44961499/article/details/122414830</link><guid>https://blog.csdn.net/qq_44961499/article/details/122414830</guid><author>qq_44961499</author><pubDate>Mon, 10 Jan 2022 22:18:08 +0800</pubDate><description><![CDATA[一、模块概述及好处


二、导入模块

举例1：导入math模块中的所有
import math
print(dir(math),type(math),math)
print(type(math),math)#&lt;class 'module'&gt; &lt;module 'math' (built-in)&gt;
print(math.pi)#3.141592653589793

print(math.ceil(9.01))#10向上取整
print(math.floor(9.999))#9向下取整
]]></description><category></category></item><item><title><![CDATA[Python入门11(面向对象、类)]]></title><link>https://blog.csdn.net/qq_44961499/article/details/122396425</link><guid>https://blog.csdn.net/qq_44961499/article/details/122396425</guid><author>qq_44961499</author><pubDate>Sun, 09 Jan 2022 23:02:46 +0800</pubDate><description><![CDATA[一、两大编程思想

二、类与对象

简单举例：

python中一切皆对象，开局一张图：

三、定义Python中的类

举例1：
class Student:
    pass

print(id(Student)) #1149225945800
print(type(Student)) #&lt;class 'type'&gt;
print(Student) #&lt;class '__main__.Student'&gt;

举例2：
class Student:
    native_place=']]></description><category></category></item><item><title><![CDATA[Python入门10（异常）]]></title><link>https://blog.csdn.net/qq_44961499/article/details/122395899</link><guid>https://blog.csdn.net/qq_44961499/article/details/122395899</guid><author>qq_44961499</author><pubDate>Sun, 09 Jan 2022 17:22:00 +0800</pubDate><description><![CDATA[一、异常处理机制
1、try-except


举例：

结果：

2、try-except-else

3、try-except-else-finally

二、异常类型
Python常见异常类型

三、traceback模块的使用


]]></description><category></category></item><item><title><![CDATA[Python入门9（函数）]]></title><link>https://blog.csdn.net/qq_44961499/article/details/122393619</link><guid>https://blog.csdn.net/qq_44961499/article/details/122393619</guid><author>qq_44961499</author><pubDate>Sun, 09 Jan 2022 16:11:23 +0800</pubDate><description><![CDATA[一、函数的创建及调用
1、概述

2、具体过程

举例：
def cal(a,b):
    c=a+b
    return c

result=cal(10,20)
print(result) #30

二、函数的参数传递
1、参数传递
实参：实际传递参数
形参：函数括号内的形式参数

举例：
def cal(a,b):
    c=a+b
    return c

result=cal(10,20)#位置实参 a=10,b=20
result=cal(b=20,c=10) #关键字实参传递 a=10]]></description><category></category></item><item><title><![CDATA[Python入门8（字符串）]]></title><link>https://blog.csdn.net/qq_44961499/article/details/122386135</link><guid>https://blog.csdn.net/qq_44961499/article/details/122386135</guid><author>qq_44961499</author><pubDate>Sat, 08 Jan 2022 22:48:01 +0800</pubDate><description><![CDATA[一、字符串的驻留机制
1、概述
举例：
a='python'
b="python"
c='''python'''

print(a,id(a))
print(a,id(b))
print(a,id(c))

结果如下：

2、驻留机制的四种情况（交互模式下，而PyCharm对其进行了优化）

举例1：

举例2：关于字符串在编译期间驻留，而非运行时

上图b的字符连接发生在程序运行之前，而c中join函数的调用运行是在程序运行之后。
2、强制驻留
举例3：

3、驻留优缺点

二、字符串的查询

举例

三]]></description><category></category></item><item><title><![CDATA[列表、字典、元组、集合总结]]></title><link>https://blog.csdn.net/qq_44961499/article/details/122383693</link><guid>https://blog.csdn.net/qq_44961499/article/details/122383693</guid><author>qq_44961499</author><pubDate>Sat, 08 Jan 2022 17:47:43 +0800</pubDate><description><![CDATA[]]></description><category></category></item><item><title><![CDATA[Python入门7（集合）]]></title><link>https://blog.csdn.net/qq_44961499/article/details/122381943</link><guid>https://blog.csdn.net/qq_44961499/article/details/122381943</guid><author>qq_44961499</author><pubDate>Sat, 08 Jan 2022 17:45:01 +0800</pubDate><description><![CDATA[一、集合概述
底层也是hash表的数据结构，集合中的元素不能重复，重复元素会自动去除。

二、集合的创建

三、集合的相关操作

1、增加操作
# 集合的创建
t1={10,20,30,40,50}
t1.add(60)  #add一次添加一个元素
print(t1)
# t1.update({70,80,90})和t1.update((70,80,90))也可以新增元素
t1.update([70,80,90])
print(t1)

#结果
{40, 10, 50, 20, 60, 30}
{70, 4]]></description><category></category></item><item><title><![CDATA[Python入门6（元组）]]></title><link>https://blog.csdn.net/qq_44961499/article/details/122380499</link><guid>https://blog.csdn.net/qq_44961499/article/details/122380499</guid><author>qq_44961499</author><pubDate>Sat, 08 Jan 2022 15:27:04 +0800</pubDate><description><![CDATA[一、元组概述

二、元组的创建

举例：
#第一种创建方式
t = ('hello', 'world', 98)
t2='hello','xiaoming',76    #小括号可以省略

#元组中只有一个元素时，需要使用逗号和小括号
t3=('world',)

#第二种创建方式
t4 = tuple(('nihao','lilei',89))

# 结果
('hello', 'world', 98) &lt;class 'tuple'&gt;
('hello', 'xiaoming', 76) &lt;]]></description><category></category></item><item><title><![CDATA[Python入门5（字典）]]></title><link>https://blog.csdn.net/qq_44961499/article/details/122379098</link><guid>https://blog.csdn.net/qq_44961499/article/details/122379098</guid><author>qq_44961499</author><pubDate>Sat, 08 Jan 2022 14:41:21 +0800</pubDate><description><![CDATA[一、字典概述
可变序列：目前包括字典、列表
不可变序列：目前包括整数，字符串
区别在于可变序列可以进行增、删、查、改操作，而不可变序列不可以进行
概述：
字典是由键值对组成的，字典是无序的排列方式，他不是根据你输入键的前后顺序来存储他，而是根据键的哈希值来存储，由此字典的键必须是一个不可变序列，而且键不可以重复。

首先先由哈希函数计算键从而得到不同键的索引,然后根据键的索引排序键，键中保存的是值的地址，从而达到引用键而找到值的效果

二、字典创建

举例：
#第一钟创建
dict1={'张三':100,']]></description><category></category></item><item><title><![CDATA[Python入门4（列表）]]></title><link>https://blog.csdn.net/qq_44961499/article/details/122226085</link><guid>https://blog.csdn.net/qq_44961499/article/details/122226085</guid><author>qq_44961499</author><pubDate>Wed, 29 Dec 2021 23:24:31 +0800</pubDate><description><![CDATA[一、列表概述

内存结构分析：
举例：

使用举例：
a=['hello','world',95,98.5]
print(a)

在这个代码里面,list是列表名,保存的id值,然后这个id值可以指向保存里面三个数据的id值,三个数据的id值指向具体数值
二、列表的创建

举例：

三、列表特点

简单举例：
lst=["zhangsan","lisi","wangwu",98]
print(lst)
print(lst[0],lst[-4]) #取出某个元素的值

结构如下：

四、列表的相关操作
1、查]]></description><category></category></item><item><title><![CDATA[Python入门3（顺序结构、对象的布尔值、分支结构、条件表达式、pass语句、内置函数range()、while循环结构、for-in循环、break与continue、else的其他用法）]]></title><link>https://blog.csdn.net/qq_44961499/article/details/122204449</link><guid>https://blog.csdn.net/qq_44961499/article/details/122204449</guid><author>qq_44961499</author><pubDate>Tue, 28 Dec 2021 23:28:48 +0800</pubDate><description><![CDATA[一、顺序结构：从上到下依次顺序执行
二、对象的布尔值（主要用于后续条件表达式使用）

举例：
print(bool(18))
print(bool(0))

结果如下：

三、分支结构：选择性执行某段代码
（1）、单分支结构（且条件表达式冒号之后的有缩进的部分为条件执行体的内容）

举例：
m=1000
n=int(input("请输入取出的金额"))
if n&lt;=m:
    s=m-n
    print("取款成功,剩余"+str(s)+"元")

结果如下：


（2）、双分支结构（二选一执行]]></description><category></category></item></channel></rss>