<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[GrofChen的博客]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/GrofChen</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; GrofChen]]></copyright><item><title><![CDATA[zsh: no matches found: pix2tex[gui]]]></title><link>https://blog.csdn.net/GrofChen/article/details/131446577</link><guid>https://blog.csdn.net/GrofChen/article/details/131446577</guid><author>GrofChen</author><pubDate>Wed, 28 Jun 2023 23:53:13 +0800</pubDate><description><![CDATA[编程环境：conda create -n latex python=3.8。操作系统：MacOS Monterey 12.6.5。文件下载至或放至该目录后，就可以单机使用了，重新输入。下载好直接放在下面的那个路径（可以在。]]></description><category></category></item><item><title><![CDATA[AttributeError: ‘charset_normalizer‘ has no attribute ‘md__mypyc‘]]></title><link>https://blog.csdn.net/GrofChen/article/details/130285267</link><guid>https://blog.csdn.net/GrofChen/article/details/130285267</guid><author>GrofChen</author><pubDate>Fri, 21 Apr 2023 12:04:05 +0800</pubDate><description><![CDATA[编程环境：conda create -n tf python=3.9。错误描述：导入 TensorFlow GPU 时，键入“操作系统：MacOS Monterey 12.6.5。]]></description><category></category></item><item><title><![CDATA[Mac上使用VScode运行C/C++]]></title><link>https://blog.csdn.net/GrofChen/article/details/109577921</link><guid>https://blog.csdn.net/GrofChen/article/details/109577921</guid><author>GrofChen</author><pubDate>Mon, 09 Nov 2020 17:29:38 +0800</pubDate><description><![CDATA[1、在官网下载VScode-stable安装包
2、把解压出来的这东西拖到这里

3、在启动台打开VScode，然后点这

4、然后在搜索框里搜索下载这几个扩展

5、设置中文

按组合键command+shift+P
输入language
点[Configure Display language]-
点[zh-cn]
点[restart]
等待软件重启


6、配置run-code

点击左下角的齿轮⚙️ ， 点设置
输入run code，点击Run Code co…(22)（确保有选中的黑体样式）
自行]]></description><category></category></item><item><title><![CDATA[C语言之基础语法]]></title><link>https://blog.csdn.net/GrofChen/article/details/108614071</link><guid>https://blog.csdn.net/GrofChen/article/details/108614071</guid><author>GrofChen</author><pubDate>Wed, 16 Sep 2020 08:47:58 +0800</pubDate><description><![CDATA[C语言的注释；在C语言中，换行并不影响代码的运行。
/* 这里是注释 */
/* 
这里是多行注释
*/

所有的 C 程序都需要包含 main() 函数。
#include&lt;stdio.h&gt;  /* C 的标准库，包括了输入(scanf)输出(printf)等函数 */  
int main()         /* 代码的执行从 main() 函数开始。 */
{                  /* {}用于表示函数代码块的开始和结束 */
	return 0;      /* retu]]></description><category></category></item><item><title><![CDATA[Mac上Jupyter的使用（Python3和C语言）]]></title><link>https://blog.csdn.net/GrofChen/article/details/108579347</link><guid>https://blog.csdn.net/GrofChen/article/details/108579347</guid><author>GrofChen</author><pubDate>Mon, 14 Sep 2020 16:17:30 +0800</pubDate><description><![CDATA[安装Homebrew（随后按提示操作）：
/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"

安装Python3:
brew install python3

安装Jupyther:
sudo pip3 install jupyter

显示Jupyter的配置文件：
jupyter notebook --generate-config

修改默认目录（否则为当前目录）：

复制配置文]]></description><category></category></item><item><title><![CDATA[Kivy之Config应用配置]]></title><link>https://blog.csdn.net/GrofChen/article/details/106961407</link><guid>https://blog.csdn.net/GrofChen/article/details/106961407</guid><author>GrofChen</author><pubDate>Fri, 26 Jun 2020 15:20:41 +0800</pubDate><description><![CDATA[from kivy.config import Config
Config.getint('kivy', 'desktop')





方法
说明




add_callback(callback,section = None,key = None )
添加在节点或键已更改时要调用的回调


adddefaultsection(section)
添加一个节点


get(section,option,** kwargs)
获取节点的选项值


getdefault(section,option,defa]]></description><category></category></item><item><title><![CDATA[Kivy之Button按钮]]></title><link>https://blog.csdn.net/GrofChen/article/details/106960388</link><guid>https://blog.csdn.net/GrofChen/article/details/106960388</guid><author>GrofChen</author><pubDate>Thu, 25 Jun 2020 17:37:29 +0800</pubDate><description><![CDATA[代码：
import kivy
kivy.require("1.9.1")
from kivy.app import App
from kivy.uix.button import Button

class ButtonApp(App):
    def build(self):
        btn = Button(text ="这时一个按钮",                  # 文本
                     font_size ="20sp",                ]]></description><category></category></item><item><title><![CDATA[Kivy之BoxLayout布局]]></title><link>https://blog.csdn.net/GrofChen/article/details/106958116</link><guid>https://blog.csdn.net/GrofChen/article/details/106958116</guid><author>GrofChen</author><pubDate>Thu, 25 Jun 2020 14:54:43 +0800</pubDate><description><![CDATA[代码：
import kivy
kivy.require("1.9.1")
from kivy.app import App
from kivy.uix.label import Label
from kivy.uix.boxlayout import BoxLayout

class BoxLayoutApp(App):
    def build(self):
        HB = BoxLayout(orientation='horizontal')     # 定义盒子，并设置内部的部件水平排列]]></description><category></category></item><item><title><![CDATA[Kivy之Label标签标记markup]]></title><link>https://blog.csdn.net/GrofChen/article/details/106919081</link><guid>https://blog.csdn.net/GrofChen/article/details/106919081</guid><author>GrofChen</author><pubDate>Tue, 23 Jun 2020 11:22:28 +0800</pubDate><description><![CDATA[class LabelApp(App):
    def build(self):
        return Label(text = "这是一个[sub]标签[/sub]",
                     font_size = '120sp',       # px、dp、sp单位
                     color = [0.5, 0.5, 1, 1],  # RGBA色彩
                     markup = True)

label = La]]></description><category></category></item><item><title><![CDATA[Kivy之Lable及Mac下中文乱码]]></title><link>https://blog.csdn.net/GrofChen/article/details/106900954</link><guid>https://blog.csdn.net/GrofChen/article/details/106900954</guid><author>GrofChen</author><pubDate>Mon, 22 Jun 2020 14:16:44 +0800</pubDate><description><![CDATA[# 导入kivy库
import kivy
# 使用的版本即当前版本
kivy.require("1.11.1")

# 我们所创建的App类要继承的父类
from kivy.app import App
# 我们所创建的App要用到的Label部件
from kivy.uix.label import Label

# 定义一个App类
class TestApp(App):
    def build(self):
        # 显示标签的文本
        return Label(text ]]></description><category></category></item><item><title><![CDATA[Mac系统下安装kivy]]></title><link>https://blog.csdn.net/GrofChen/article/details/106900090</link><guid>https://blog.csdn.net/GrofChen/article/details/106900090</guid><author>GrofChen</author><pubDate>Mon, 22 Jun 2020 13:48:35 +0800</pubDate><description><![CDATA[Kivy是Python的一个图形用户界面开源库，可以在Windows、macOS、Android、iOS、Linux等开发多平台应用程序。
为便于开发，本人使用的是Mac系统。
下面开始安装Kivy：
1.安装Homebrew
Homebrew是一款macOS系统的包管理工具。
terminal命令：
/usr/bin/ruby -e "$(curl -fsSL https://cdn.jsdelivr.net/gh/ineo6/homebrew-install/install)"

如果执行时出现：
==]]></description><category></category></item><item><title><![CDATA[python之webdriver的鼠键操作]]></title><link>https://blog.csdn.net/GrofChen/article/details/102565476</link><guid>https://blog.csdn.net/GrofChen/article/details/102565476</guid><author>GrofChen</author><pubDate>Tue, 15 Oct 2019 13:49:58 +0800</pubDate><description><![CDATA[from selenium import webdriver                    # 网络驱动
from selenium.webdriver import ActionChains       # 鼠标动作链
from selenium.webdriver.common.keys import Keys   # 键盘模拟
from selenium.webdriver.comm...]]></description><category></category></item><item><title><![CDATA[python之selenium.webdriver函数]]></title><link>https://blog.csdn.net/GrofChen/article/details/102546404</link><guid>https://blog.csdn.net/GrofChen/article/details/102546404</guid><author>GrofChen</author><pubDate>Mon, 14 Oct 2019 17:19:30 +0800</pubDate><description><![CDATA[使用的phantomjs2.1.1浏览器
from selenium import webdriver
driver=webdriver.PhantomJS(executable_path=r"C:\phantomjs-2.1.1-windows\bin\phantomjs.exe")





方法
说明




driver.get(url)
打开页面


driver.forward()
前...]]></description><category></category></item><item><title><![CDATA[python爬虫学习之路]]></title><link>https://blog.csdn.net/GrofChen/article/details/102534508</link><guid>https://blog.csdn.net/GrofChen/article/details/102534508</guid><author>GrofChen</author><pubDate>Sun, 13 Oct 2019 16:39:37 +0800</pubDate><description><![CDATA[单线程爬取小说





单线程爬取笑话
多线程爬取笑话










网页的电话和邮箱
绍兴e网招聘信息
百度贴吧




]]></description><category></category></item><item><title><![CDATA[python进阶学习之路]]></title><link>https://blog.csdn.net/GrofChen/article/details/102533977</link><guid>https://blog.csdn.net/GrofChen/article/details/102533977</guid><author>GrofChen</author><pubDate>Sun, 13 Oct 2019 16:02:16 +0800</pubDate><description><![CDATA[函数和装饰器











函数
全局变量
递归函数


匿名函数
闭包
装饰器


带参的装饰器




常用的函数











范围函数
时间函数
日历函数


随机函数
map函数
reduce函数


文件











文件
备份
批量重命名


类和模块











类的创建  
类的构造函数
类的封装]]></description><category></category></item><item><title><![CDATA[python高级学习之路]]></title><link>https://blog.csdn.net/GrofChen/article/details/102533934</link><guid>https://blog.csdn.net/GrofChen/article/details/102533934</guid><author>GrofChen</author><pubDate>Sun, 13 Oct 2019 15:59:47 +0800</pubDate><description><![CDATA[正则表达式











正则表达式
match函数search函数  
Match对象


findal函数finditer函数
compile函数
sub函数split函数


正则标志位和模式 




网络爬虫











爬取页面（urllib库） 
爬取邮箱电话 
爬取贴吧翻译 


多线程编程











多线程编程 
Thread对
threadin]]></description><category></category></item><item><title><![CDATA[python之多线程爬取笑话]]></title><link>https://blog.csdn.net/GrofChen/article/details/102521442</link><guid>https://blog.csdn.net/GrofChen/article/details/102521442</guid><author>GrofChen</author><pubDate>Sat, 12 Oct 2019 15:27:27 +0800</pubDate><description><![CDATA[from bs4 import BeautifulSoup as bs
import requests,json,time
file = open("duanzi.json", "a")
def crawl_html(num):
    headers={"User-Agent":"Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:69.0) Gecko/20...]]></description><category></category></item><item><title><![CDATA[python之三角函数]]></title><link>https://blog.csdn.net/GrofChen/article/details/92795050</link><guid>https://blog.csdn.net/GrofChen/article/details/92795050</guid><author>GrofChen</author><pubDate>Sat, 12 Oct 2019 14:47:23 +0800</pubDate><description><![CDATA[acos(x)
返回x的反余弦弧度值。


asin(x)
返回x的反正弦弧度值。


atan(x)
返回x的反正切弧度值。


atan2(y, x)
返回给定的 X 及 Y 坐标值的反正切值。


cos(x)
返回x的弧度的余弦值。


hypot(x, y)
返回欧几里德范数 sqrt(xx + yy)。


sin(x)
返回的x弧度的正弦值。


tan(x)
返...]]></description><category></category></item><item><title><![CDATA[python之数学函数]]></title><link>https://blog.csdn.net/GrofChen/article/details/92794997</link><guid>https://blog.csdn.net/GrofChen/article/details/92794997</guid><author>GrofChen</author><pubDate>Sat, 12 Oct 2019 14:47:08 +0800</pubDate><description><![CDATA[abs(x)
返回数字的绝对值，如abs(-10) 返回 10


ceil(x)
返回数字的上入整数，如math.ceil(4.1) 返回 5


cmp(x, y)
如果 x &lt; y 返回 -1, 如果 x == y 返回 0, 如果 x &gt; y 返回 1


exp(x)
返回e的x次幂(ex),如math.exp(1) 返回2.718281828459045...]]></description><category></category></item><item><title><![CDATA[HTTPResponse对象]]></title><link>https://blog.csdn.net/GrofChen/article/details/100697972</link><guid>https://blog.csdn.net/GrofChen/article/details/100697972</guid><author>GrofChen</author><pubDate>Sat, 12 Oct 2019 14:46:30 +0800</pubDate><description><![CDATA[使用urllib.request模块中的urlopen()方法发送http请求
import urllib
response=urllib.request.urlopen('http://www.baidu.com')  # 服务器返回的响应内容封装在HTTPResponse类型的对象中
print(type(response))                        # HTTPResp...]]></description><category></category></item></channel></rss>