摘要: //选择排序 public class SelectSort { public static void main(String[] args) { int [] arry = {3,1,6,2,5}; for (int i = 0; i < arry.length -1; i++){ int min 阅读全文
posted @ 2021-01-06 09:17 风雨无阻! 阅读(34) 评论(0) 推荐(0) 编辑
摘要: import requests import parsel, re, json headers = { 'user-agent': 'Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.26 阅读全文
posted @ 2020-12-25 09:22 风雨无阻! 阅读(81) 评论(0) 推荐(0) 编辑
摘要: import re from urllib import parse import tkinter as tk import tkinter.messagebox as msgbox import webbrowser class App(object): def __init__(self,wid 阅读全文
posted @ 2020-12-23 00:51 风雨无阻! 阅读(943) 评论(0) 推荐(0) 编辑
摘要: import smtplib from email.mime.text import MIMEText from_address = 'xxx@huawei.com' to_address = 'xxx@huawei.com' msg = MIMEText('Hello, send by Pytho 阅读全文
posted @ 2020-12-22 20:11 风雨无阻! 阅读(70) 评论(0) 推荐(0) 编辑
摘要: # 话不多说,直接上源码import urllib, requests import urllib.request as req import re import json import subprocess headers = { 'user-agent': 'Mozilla/5.0 (Windo 阅读全文
posted @ 2020-12-18 11:21 风雨无阻! 阅读(88) 评论(0) 推荐(0) 编辑
摘要: 1.下载ISO镜像 到微软官方网站下载镜像文件,地址:https://www.microsoft.com/zh-cn/software-download/windows10。 2. 集成VMTools驱动 2.1 去官网下载UltraISO,并安装至本地: 下载地址:https://www.ultr 阅读全文
posted @ 2020-12-17 16:37 风雨无阻! 阅读(1586) 评论(0) 推荐(0) 编辑
摘要: 1 from bs4 import BeautifulSoup 2 import requests 3 import urllib.request as req 4 import xlwt 5 6 class Spider(object): 7 def __init__(self): 8 self. 阅读全文
posted @ 2020-12-09 17:22 风雨无阻! 阅读(203) 评论(0) 推荐(0) 编辑
摘要: 编程环境: attrs==17.4.0 lxml==4.1.1 pdfminer3k==1.3.4 pluggy==0.6.0 ply==3.11 py==1.5.2 pytest==3.4.1 python-docx==0.8.6 six==1.11.0 from pdfminer.pdfpars 阅读全文
posted @ 2020-12-01 15:35 风雨无阻! 阅读(68) 评论(0) 推荐(0) 编辑
摘要: import os from PyPDF2 import PdfFileReader, PdfFileWriter dir_name = '保存文件目录' if not os.path.exists(dir_name): os.mkdir(dir_name) # 用pypdf2分割PDF pdf_r 阅读全文
posted @ 2020-12-01 14:36 风雨无阻! 阅读(58) 评论(0) 推荐(0) 编辑
摘要: import win32com.client as win32 import os word = win32.gencache.EnsureDispatch('Word.Application') # 启动word对象应用 word.Visible = False path = 'D:\\progr 阅读全文
posted @ 2020-12-01 14:33 风雨无阻! 阅读(42) 评论(0) 推荐(0) 编辑