- 博客(8)
- 收藏
- 关注
![](https://csdnimg.cn/release/blogv2/dist/pc/img/listFixedTop.png)
原创 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
原创 伤寒论阳明篇(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关注的人