- 博客(8)
- 收藏
- 关注
原创 selenium刷研究生专业目录下载量(东林)
帮女朋友刷一下考研院校专业目录下载量,写个小爬虫,主要使用selenium,目标网址http://yz.nefu.edu.cn/info/1026/2189.htm。唯一难点是绕过验证码,直接使用ddddocr库。后续可以用多线程操作。
2022-08-19 20:51:42
284
原创 python获取时间,并将时间格式化为x年x月x日
1、获取时间import timetodayDate = time.strftime("%Y%m%d", time.localtime())2、转变格式import timetodayDate = time.strftime("%Y{y}%m{m}%d{d}", time.localtime()).format(y='年', m='月', d='日')3、效果
2021-04-19 13:59:04
1390
2
原创 JAVA Swing编程实现计算器界面
暂时先写个界面,后续明天接着写,下面放做好后的图!——————下面是源码———————————import javax.swing.*;import java.awt.*;public class SWING_Experiment_Calculator { public static void main(String[] args) { JFrame jf = ...
2019-11-01 21:44:17
1101
1
原创 JAVA Swing编程实现大数阶乘
—————话不多说,直接放代码!!—————import javax.swing.*;import java.awt.*;import java.awt.event.ActionEvent;import java.awt.event.ActionListener;public class SWING_Experiment_Factorial { public static v...
2019-11-01 21:41:00
282
原创 二进制转化十进制(栈的应用)
#include <stdio.h>#include <stdlib.h>#include <math.h>#define STACK_INIT_SIZE 20#define STACKINCREMENT 10typedef char ElemType;typedef struct{ ElemType *base; ElemType *to...
2019-08-12 21:57:50
287
原创 魔术师发牌问题(循环链表)
基础循环链表的应用代码#include <stdio.h>#include <stdlib.h>typedef struct node{ int data; struct node *next;}sqlist,*linklist;linklist CreateLinkList(){ linklist head = NULL; linklist r...
2019-08-11 12:31:10
127
原创 约瑟夫环(循环链表)
约瑟夫环代码去博客设置页面,选择一款你喜欢的代码片高亮样式,下面展示同样高亮的 代码片.#include <stdio.h>#include <stdlib.h>typedef struct node{ int data; struct node *next;}node;node *create(int n){ node *p = NULL,*...
2019-08-09 21:20:49
238
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人