Lynsee的小破屋
首页
Hello Halo
Halo
关于
登录
菜单
首页
Hello Halo
Halo
关于
Lynsee的小破屋
归档
2026 年 06 月
05-常用快捷键
2026-06-17
快捷键 描述 ctrl+d 删除行 F2 keymap -> rename F3 keymap -> show in explorer
07-保存时自动格式化代码
2026-06-17
保存时自动格式化代码 安装插件File Watchers 我这里的pycharm版本自己默认安装好了… 安装black包 pip install black 安装好之后,python解释器所在目录的Scripts目录下会多出一个black.exe文件 D:\zhengqingya\sof
08-Error和Warning提示颜色修改
2026-06-17
File -> Settings... -> Editor -> Color Scheme -> General -> Errors and Warnings -> Warning
03-helloworld
2026-06-17
main.py from typing import Union from fastapi import FastAPI app = FastAPI() @app.get("/") def read_root(): return {"Hello": "World"} @app.g
02-安装
2026-06-17
# 安装 pip install fastapi # ASGI服务器 -- uvicorn pip install "uvicorn[standard]"
在mac下 执行Python多线程报错 objc[50958] +[__NSPlaceholderDate initialize] may have
2026-06-17
1 打开 vi ~/.bash_profile 2 加上 export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES 3 生效 source ~/.bash_profile 4 查看 env
01-FastAPI
2026-06-17
FastAPI FastAPI 是一个用于构建 API 的现代、快速(高性能)的 web 框架,使用 Python 3.6+ 并基于标准的 Python 类型提示。
python爬虫之伪装User-Agent
2026-06-17
因为爬虫的需要,所以需要多个user-agent,之前一直也是这样用的,后来接触到了fake_useragent这个包后,一切都变得那么简单简单了,fake_useragent是一个集成了市面上大部分的user-agent,可以指定浏览器,也可随机生成任意一个 在工作中进行爬虫时,经常会需要提供Us
Python打包成exe和Mac中可执行app
2026-06-17
Windows-exe 环境:Windows、Python 3.6 首先进入命题提示符 1.windows键(小窗形状的键)+r 2.输入cmd回车 安装pyinstaller,前提是安装了pip,没安装pip的先安装pip pip install pyinstaller #python3可使用
selenium实现webdriver的xpath定位
2026-06-17
web driver提供了八种元素定位的方法: id, name, class name, tag name, link text, partial link text, xpath, css selector 下面主要介绍一下xpath: 一、xpath基本定位用法 1.1 使用id定位 – dr
上一页
1 / 9
2 / 9
3 / 9
4 / 9
5 / 9
6 / 9
7 / 9
8 / 9
9 / 9
下一页