线程池处理异步任务队列 /// <author>cxg 2020-9-3</author> /// 支持d7以上版本,更低版本没有测试,支持跨OS unit tasks; interface uses {$IFDEF mswindows} Windows, {$ENDIF} {$IFDEF posi ...
分类:
编程语言 时间:
2020-09-16 12:43:31
阅读次数:
71
import os import numpy as np import matplotlib.pyplot as plt root = os.getcwd() list_data = [os.path.join(root, f) for f in os.listdir() if f.endswith ...
分类:
其他好文 时间:
2020-09-15 21:31:50
阅读次数:
55
''' from concurrent.futures import ThreadPoolExecutor,ProcessPoolExecutor import time,random,os def task(name,n): print('%s%s is running' %(name,os.ge ...
分类:
编程语言 时间:
2020-09-12 21:45:01
阅读次数:
36
My series of Cloud Application Studio Blogs How to detect EditMode in an Embedded Component Step by step to enable your custom BO with attachment uplo ...
分类:
其他好文 时间:
2020-09-12 21:42:43
阅读次数:
46
基于 OS 内核的数据传输有什么弊端 1、中断处理:当网络中大量数据包到来时,会产生频繁的硬件中断请求,这些硬件中断可以打断之前较低优先级的软中断或者系统调用的执行过程,如果这种打断频繁的话,将会产生较高的性能开销。 2、内存拷贝:正常情况下,一个网络数据包从网卡到应用程序需要经过如下的过程:数据从 ...
分类:
其他好文 时间:
2020-09-12 21:38:33
阅读次数:
80
一、当前主流浏览器 根据浏览器使用的内核,我们可以把这些若干浏览器分一下类,其中的五类主要代表浏览器是: IE浏览器; Firefox 火狐浏览器; Chrome 谷歌浏览器; Safari 苹果浏览器; Opera 欧朋浏览器; 二、主流浏览器使用的内核 IE浏览器使用的内核为:Trident; ...
分类:
其他好文 时间:
2020-09-11 14:13:17
阅读次数:
42
前言 富文本编辑框是做web自动化最常见的场景,本篇以开源系统OPMS的添加新项目为例,解决如何定位富文本,输入文本内容 一、登录 # coding:utf-8 from selenium import webdriver driver=webdriver.Chrome() host="http:/ ...
分类:
编程语言 时间:
2020-09-10 23:18:26
阅读次数:
53
yum源:[root@jack7-1yum.repos.d]#catali*[aliBase]name=aliBasebaseurl=https://mirrors.aliyun.com/centos/$releasever/os/$basearch/enabled=1gpgcheck=1gpgkey=https://mirrors.aliyun.com/centos/$releasever/os
分类:
其他好文 时间:
2020-09-10 22:45:35
阅读次数:
36
用Python复制文件的9个方法 Python 中有许多“开盖即食”的模块(比如 os,subprocess 和 shutil)以支持文件 I/O 操作。在这篇文章中,你将会看到一些用 Python 实现文件复制的特殊方法。下面我们开始学习这九种不同的方法来实现 Python 复制文件操作。 在开始 ...
分类:
编程语言 时间:
2020-09-10 22:41:43
阅读次数:
49
#!/usr/bin/env python import os import numpy as np import py7zr import shutil import pandas as pd import time import multiprocessing import re def fun ...
分类:
系统相关 时间:
2020-09-09 19:20:50
阅读次数:
50