自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(8)
  • 收藏
  • 关注

原创 python实现selenium(股票)

from selenium import webdriver import time from selenium.webdriver.support.wait import WebDriverWait # 版本对应 # geckodriver 0.17 # Selenium 3.4 # Firefox 52 # python3.7.1 def findElement(locator,timeout=28): element=WebDriverWait(web,timeout).until(lam

2021-01-01 20:10:54 4274 6

原创 2021-01-16

2021-06-02 19:13:59 75

原创 伤寒论阳明篇(python文本搜索)

# // ? 与 {0,1}:0个或1个前面的内容 或 前面的内容是可选的 # // * 与 {0,} : 0 个或多个前面的内容 # // + 与 {1,}: 1 个或多个前面的内容 import re import requests from lxml import etree from selenium import webdriver from selenium.webdriver.support.wait import WebDriverWait wpath='/home/jl

2021-01-08 13:52:43 194

原创 伤寒论文本搜索(grep)

git@github.com:roses19860321/Treatise-on-Febrile-Caused-by-Cold.git https://github.com/roses19860321/Treatise-on-Febrile-Caused-by-Cold.git #!/bin/sh #grep -n '汗' 5少阴 6厥阴|grep '阴'>x_almos #grep -E '厥|冷|逆|手足|寒|汗' ./1宋本/* ./2桂林古本/* ./3金匮/*> x_almos #gr

2021-01-03 19:56:00 159 1

原创 c++ & objective-c

#import <Foundation/Foundation.h> int main(){ NSAutoreleasePool *pool=[[NSAutoreleasePool alloc] init]; NSLog(@"green+red 13gf"); [pool drain]; return 0; }

2021-01-03 08:25:08 80

原创 c++实现expect

1.ubuntu12.04 32位 IDE:Clion 安装 sudo apt-get install tcl-devel expect-devel ---------------------------------------------------- 2.main.cpp ----------------------------------------------------- #include <tcl.h> #include <expect.h> #include

2021-01-01 20:58:05 776

原创 c++实现文本替换

#include <stdio.h> #include <string> #include <regex> #include <fstream> #include <iostream> #include <set> using namespace std; // ? 与 {0,1}:0个或1个前面的内容 或 前面的内容是可选的 // * 与 {0,} : 0 个或多个前面的内容 // + 与 {1,}: 1 个或多个前

2021-01-01 19:56:05 1230 1

原创 Rust实现文本替换

use std::fs::{File, OpenOptions}; use std::process::Command; use std::{thread, time}; use std::io::{BufReader, BufRead, Read, Write}; use regex::Regex; use std::borrow::Cow; // 不需转义 `, /!@#%&-_=:;"'<>. // 需转义 \$^*()+{}[]|? fn main() { // mt

2021-01-01 19:44:18 1090

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除