文章分类 - python
python
符合车架号规则生成器
摘要:界面生成 import ttkbootstrap as ttk from vehicleIdentificationNumber import vin_numbers, get_normal_vin, check_vin class Vin9Frame(ttk.Frame): def __init_
阅读全文
pdf转换器-预览PDF和图片源代码
摘要:class PDFMiner: def __init__(self, filepath): # creating the file path self.filepath = filepath # opening the pdf document self.pdf = fitz.open(self.f
阅读全文
pdf转换器-主要转换功能按钮源代码
摘要:#!/usr/bin/python # -*- coding: UTF-8 -*- # python2 使用 Tkinter from tkinter.ttk import Combobox import math import os from tkinter import * import shu
阅读全文
python转换器
摘要:添加需要操作的文件 选择需要保存的目录 双击查看pdf和 图片 链接: https://pan.baidu.com/s/1wKPQ1EbsdLi--wzo2gxAsA 提取码: w7jz
阅读全文
python 定时任务
摘要:from datetime import datetime from apscheduler.schedulers.background import BackgroundScheduler from apscheduler.schedulers.blocking import BlockingSc
阅读全文
实现多线程服务器-服务端
摘要:日志部分参考:https://www.cnblogs.com/singebogo/articles/15722262.html import socket import threading from log import Logger log = Logger('log//all.log',leve
阅读全文
配置日志系统logging
摘要:logging 模块详解:https://www.cnblogs.com/xianyulouie/p/11041777.html import logging from logging import handlers class Logger(object): level_relations = {
阅读全文
python request下载文件时,显示进度以及网速
摘要:python request下载文件时,显示进度以及网速 转载于-互联网兄弟(非原创) python request下载文件时,显示进度以及网速 import requests import time def downloadFile(name, url): headers = {'Proxy-Co
阅读全文