<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[Error的博客]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/Starry_error</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; Starry_error]]></copyright><item><title><![CDATA[Unity 鼠标拖拽功能]]></title><link>https://blog.youkuaiyun.com/Starry_error/article/details/127729856</link><guid>https://blog.youkuaiyun.com/Starry_error/article/details/127729856</guid><author>Starry_error</author><pubDate>Mon, 07 Nov 2022 14:02:48 +0800</pubDate><description><![CDATA[继承3个处理拖拽方法的接口IBeginDragHandler, IDragHandler, IEndDragHandler]]></description><category></category></item><item><title><![CDATA[Unity 获取鼠标所在位置的UI及3D物体]]></title><link>https://blog.youkuaiyun.com/Starry_error/article/details/127729643</link><guid>https://blog.youkuaiyun.com/Starry_error/article/details/127729643</guid><author>Starry_error</author><pubDate>Mon, 07 Nov 2022 13:48:17 +0800</pubDate><description><![CDATA[【代码】Unity 获取鼠标所在位置的UI及3D物体。]]></description><category></category></item><item><title><![CDATA[嵌套条件if分区模板 （前端）]]></title><link>https://blog.youkuaiyun.com/Starry_error/article/details/126887252</link><guid>https://blog.youkuaiyun.com/Starry_error/article/details/126887252</guid><author>Starry_error</author><pubDate>Fri, 16 Sep 2022 11:29:57 +0800</pubDate><description><![CDATA[【代码】嵌套条件if分区模板 （前端）]]></description><category></category></item><item><title><![CDATA[五子棋简单AI算法（C#版）]]></title><link>https://blog.youkuaiyun.com/Starry_error/article/details/125498493</link><guid>https://blog.youkuaiyun.com/Starry_error/article/details/125498493</guid><author>Starry_error</author><pubDate>Tue, 28 Jun 2022 12:12:36 +0800</pubDate><description><![CDATA[本文只提供AI算法，不提供棋盘，因为棋盘不是我写的，不好拿出来分享，望谅解。当前AI只能计算当前局面下最优的一步，没有深度，水平一般的普通人很轻易就会被其击败，但是有很大的升级空间，可以以此为基础再行添加算法添加深度，以及剪枝等算法。当前AI为黑色时水平较高，为白色时需要修改得分表，得分表会影响AI的决策，得分可以自行修改，此得分表并非最佳得分表，但是经过我的测试貌似还可以。ps：这是AI的核心非常重要得分表如下：


 AI算法思路讲解：

首先我们需要知道输入和输出，给输入当前棋盘的二维数组，从而让他返]]></description><category></category></item><item><title><![CDATA[KMP算法实现（java日记）]]></title><link>https://blog.youkuaiyun.com/Starry_error/article/details/125371539</link><guid>https://blog.youkuaiyun.com/Starry_error/article/details/125371539</guid><author>Starry_error</author><pubDate>Mon, 20 Jun 2022 14:04:26 +0800</pubDate><description><![CDATA[一个冷知识：kmp的next数组有两种写法，一种是教科书上常用的以-1，0为开头的，一种是竞赛中常用的以0为开头的，两种所求next数组不同，后续使用方式也不同，代码自然也不尽相同，但是思路一致，找出一种适合自己的写法理解记忆就好，不用过于纠结。我所用的是b站上左程云老师的写法。代码如下：...]]></description><category></category></item><item><title><![CDATA[python图像文字识别（附灰度化二值化和压缩图片）]]></title><link>https://blog.youkuaiyun.com/Starry_error/article/details/125356743</link><guid>https://blog.youkuaiyun.com/Starry_error/article/details/125356743</guid><author>Starry_error</author><pubDate>Sun, 19 Jun 2022 12:58:08 +0800</pubDate><description><![CDATA[前言：由于python的图像识别库pytesseract太垃圾的缘故，我使用的是百度的OCR接口，使用之前需要去百度AI注册账号并创建一个接口来给自己调用，创建方法网上一大堆教程自己搜，这篇文章主要是自己备用以后可能会用到，在此记录。使用前先安装：测试图片：返回结果：  代码如下：...]]></description><category></category></item><item><title><![CDATA[异或法寻找1到1000中重复的数字（java日记）]]></title><link>https://blog.youkuaiyun.com/Starry_error/article/details/125257633</link><guid>https://blog.youkuaiyun.com/Starry_error/article/details/125257633</guid><author>Starry_error</author><pubDate>Sat, 18 Jun 2022 12:04:47 +0800</pubDate><description><![CDATA[异或法寻找1到1000中重复的数字，学习自用。]]></description><category></category></item><item><title><![CDATA[python使用tkinter实现学生信息管理系统（下）]]></title><link>https://blog.youkuaiyun.com/Starry_error/article/details/125331254</link><guid>https://blog.youkuaiyun.com/Starry_error/article/details/125331254</guid><author>Starry_error</author><pubDate>Fri, 17 Jun 2022 13:11:00 +0800</pubDate><description><![CDATA[原本我是不打算写下篇的，原因我也说了，没什么用纯粹是写着玩的，而且隔了好长时间了我也没什么印象了想要接上比较费时费力，但是我发现一件很神奇的事情，就是我觉得有用的文章没有太多人看，而这种花里胡哨的文章你们却很感兴趣，导致好多人问我要下篇，我想了想反正放假了也没什么事情，那就应广大网友的要求就把他补全吧（哈哈哈，想打我吗？）。参考：Python GUI项目实战（一）登录窗体的设计与实现 - 云+社区 - 腾讯云 (tencent.com)我们接着上一篇的内容继续做拓展，上篇我们实现了登录，显示，关键字搜索的操]]></description><category></category></item><item><title><![CDATA[选择排序（Java日记）]]></title><link>https://blog.youkuaiyun.com/Starry_error/article/details/125209199</link><guid>https://blog.youkuaiyun.com/Starry_error/article/details/125209199</guid><author>Starry_error</author><pubDate>Thu, 09 Jun 2022 19:01:29 +0800</pubDate><description><![CDATA[算法思想：依次从0，1，2...N-1中选择最小的数并放在前面（互换位置），放完后不在关注此位置，从该位置的后一位继续重复该操作。]]></description><category></category></item><item><title><![CDATA[C#图像栅格叠加]]></title><link>https://blog.youkuaiyun.com/Starry_error/article/details/125181742</link><guid>https://blog.youkuaiyun.com/Starry_error/article/details/125181742</guid><author>Starry_error</author><pubDate>Wed, 08 Jun 2022 11:58:57 +0800</pubDate><description><![CDATA[老师布置一个实验报告叫什么叠加分析要求用C#实现，然后什么也没说什么也不讲，真的是一脸懵逼，上网查了一下后发现全都是arcgis的，但是好在还是查到了一点有用的思路，如下：姑且就当它是二选一吧，反正她什么都没说，那也别怪我们自由发挥了，上面两个一看就知道肯定是栅格叠加更简单，所以就搞它吧，再给它替换成图片，来一波狸猫换太子，面子上过得去，显得复杂一点，还不够的话再给她来个进度条动态显示，嘿嘿，完美。操作步骤：1.显示栅格2.显示数据3.调进度条4.栅格叠加->调进度条->栅格叠加->调进度条......另外]]></description><category></category></item><item><title><![CDATA[C#实现GIS中莫顿码的计算]]></title><link>https://blog.youkuaiyun.com/Starry_error/article/details/125162685</link><guid>https://blog.youkuaiyun.com/Starry_error/article/details/125162685</guid><author>Starry_error</author><pubDate>Tue, 07 Jun 2022 12:07:52 +0800</pubDate><description><![CDATA[计算步骤：1.将横坐标和纵坐标分别转化为二进制，需要注意的是转化后的二进制位数要相同（本文中以8为二进制码进行演示）2.交叉排序后组合成16位2进制码3.将16位二进制码重新转化为整形数字，此数字即为我们需要的莫顿码C#代码如下：...]]></description><category></category></item><item><title><![CDATA[C语言 521猫语表白代码(unicode加密)]]></title><link>https://blog.youkuaiyun.com/Starry_error/article/details/124896174</link><guid>https://blog.youkuaiyun.com/Starry_error/article/details/124896174</guid><author>Starry_error</author><pubDate>Sat, 21 May 2022 11:39:11 +0800</pubDate><description><![CDATA[用实力告诉她们，谁说我们程序员不懂浪漫，不懂幽默，代码原理很简单，整篇就一个知识点，宏的定义，你也可以改成自己想要说的话，但是我觉得其实没必要改，因为已经表达的很清楚了，运用了我非常喜欢的一段话，这里我就不运行了，保持点神秘感。

代码如下：


#define _CRT_SECURE_NO_WARNINGS
#include&lt;stdio.h&gt;
#define 喵喵喵 main
#define 喵喵 int
#define 喵 (
#define 喵喵呜 )
#define 喵喵喵喵 {
#de]]></description><category></category></item><item><title><![CDATA[python学习T字体加密分析]]></title><link>https://blog.youkuaiyun.com/Starry_error/article/details/124880068</link><guid>https://blog.youkuaiyun.com/Starry_error/article/details/124880068</guid><author>Starry_error</author><pubDate>Fri, 20 May 2022 13:31:14 +0800</pubDate><description><![CDATA[前言：本篇仅作为技术交流分析学习通字体加密的方式以及解法，给爬虫爱好者们提供一些思路。

如果你想要爬取学习通的作业题可以看这篇：python爬虫笔记（学习T）_星空的你的博客-优快云博客

首先：经过我的观察学习通并非所有页面都有字体加密，有加密的页面一般为作业和章节测试，并且当提交完作业或测试后，字体加密会消失，加密的方式为随机选择文字进行加密。

特点：被加密的页面必有base64编码，直接在页面源码中搜索base64（base64后面的一大长串就是加密字体的映射文件，直接复制在浏览器放入url中回]]></description><category></category></item><item><title><![CDATA[电脑操作手机scrcpy软件]]></title><link>https://blog.youkuaiyun.com/Starry_error/article/details/124857898</link><guid>https://blog.youkuaiyun.com/Starry_error/article/details/124857898</guid><author>Starry_error</author><pubDate>Thu, 19 May 2022 10:37:12 +0800</pubDate><description><![CDATA[下载地址：网址：scrcpy-win64-v1.17提取码: yvid ；

github网址：scrcpy；

我这里只使用有线连接：

首先需要在手机开发者选项中打开usb调试选项，而后连接数据线，运行文件夹中scrcpy.exe即可

常用快捷键：Mod键替换为Alt即可







本篇只作为笔记便于查找，无其他意图。




...]]></description><category></category></item><item><title><![CDATA[python使用selenium获取某通章节测试题]]></title><link>https://blog.youkuaiyun.com/Starry_error/article/details/124850815</link><guid>https://blog.youkuaiyun.com/Starry_error/article/details/124850815</guid><author>Starry_error</author><pubDate>Wed, 18 May 2022 21:14:41 +0800</pubDate><description><![CDATA[使用selenium效率很低，而且不是通用的，爬取其他课程要对代码进行修改，建议使用下方文章：

python爬虫笔记（学习T）_星空的你的博客-优快云博客

爬取的网站不是某通原网，可能是内部网站，分析网站源码抓包发现的，此网站目前没有字体加密。

下方代码：


import time
from lxml import etree
from bs4 import BeautifulSoup
import os
from selenium import webdriver
from selenium.w]]></description><category></category></item><item><title><![CDATA[python爬虫笔记（学习T）]]></title><link>https://blog.youkuaiyun.com/Starry_error/article/details/124850921</link><guid>https://blog.youkuaiyun.com/Starry_error/article/details/124850921</guid><author>Starry_error</author><pubDate>Wed, 18 May 2022 21:00:02 +0800</pubDate><description><![CDATA[代码在下方，运行一下就知道了，此篇文章不可多说，望理解。

courseId在学习T课程页面上方的网页地址中可以获取。

如果还不清楚去下面看思路讲解。

代码如下：


import os
import requests
from bs4 import BeautifulSoup
import threading
import time
from queue import Queue
import json

'''
第一步，获取所有KnowledgeId
'''
print('获取所有Knowledg.]]></description><category></category></item><item><title><![CDATA[C#委托的示例，使用委托执行函数动作链，实现对swich case 的替换]]></title><link>https://blog.youkuaiyun.com/Starry_error/article/details/124594100</link><guid>https://blog.youkuaiyun.com/Starry_error/article/details/124594100</guid><author>Starry_error</author><pubDate>Thu, 05 May 2022 17:51:19 +0800</pubDate><description><![CDATA[借用一下老师的图， 让你知道我要干什么








using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp6
{
    delegate int[] Move(int x,int y);//建立一个移动的委托，委托类似于C中函数指针，方便执行函数动作连

    class Prog.]]></description><category></category></item><item><title><![CDATA[C#Dijkstra(迪杰斯特拉)求算法最短路线，以及使用回溯算法寻找路径(bug修复)]]></title><link>https://blog.youkuaiyun.com/Starry_error/article/details/124559769</link><guid>https://blog.youkuaiyun.com/Starry_error/article/details/124559769</guid><author>Starry_error</author><pubDate>Tue, 03 May 2022 19:09:53 +0800</pubDate><description><![CDATA[上一篇文章中有人反馈路径数值有bug，我对此进行了更改与修复，大家看着理解吧，我还有事要忙，就不进行讲解了，另外在此感谢小伙伴的反馈，之前没认真做测试实在抱歉。


using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Thre]]></description><category></category></item><item><title><![CDATA[C#Dijkstra(迪杰斯特拉)求算法最短路线，以及使用回溯算法寻找路径]]></title><link>https://blog.youkuaiyun.com/Starry_error/article/details/124555326</link><guid>https://blog.youkuaiyun.com/Starry_error/article/details/124555326</guid><author>Starry_error</author><pubDate>Tue, 03 May 2022 14:56:09 +0800</pubDate><description><![CDATA[讲解都在代码段中可谓是非常详细了，回溯算法没细说因为很简单，扫一眼就知道是怎么回事了


using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.For.]]></description><category></category></item><item><title><![CDATA[python 批量处理word中表格导入excel]]></title><link>https://blog.youkuaiyun.com/Starry_error/article/details/124073444</link><guid>https://blog.youkuaiyun.com/Starry_error/article/details/124073444</guid><author>Starry_error</author><pubDate>Sun, 10 Apr 2022 10:09:11 +0800</pubDate><description><![CDATA[演示图片：















auto_we源码：


import xlrd, xlwt
from xlutils.copy import copy as xl_copy
from docx import Document
import os
path = "words文件夹"
if not os.path.exists(path):
    os.makedirs(path)
files= os.listdir(path)
word_list = []
for file in ...]]></description><category></category></item></channel></rss>