码迷,mamicode.com
首页 >  
搜索关键字:threading    ( 3244个结果
Socket 多任务
1. 循环版实现多连接 2. threading.Thread 多线程(传输文件) 3. SockerServer 实现多任务 3.1 ForkingMixIn - 多进程(限 linux) 3.2 ThreadingMixIn - 多线程 3.3 ThreadingTCPServer - 线程池 ...
分类:其他好文   时间:2020-12-03 11:55:16    阅读次数:6
俄罗斯方块(可修改为无敌版)
#代码如下: `from tkinter import * from random import * import threading from tkinter.messagebox import showinfo from tkinter.messagebox import askquestion ...
分类:其他好文   时间:2020-12-02 12:39:52    阅读次数:5
通过 RS485 与读卡器通信
using NLog; using System; using System.IO.Ports; using System.Text; using System.Threading; namespace TestCom485 { class Program { static void Main(st ...
分类:其他好文   时间:2020-11-24 12:42:10    阅读次数:9
编写程序,计算数组中奇数之和和偶数之和。
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace odds { class Program { s ...
分类:编程语言   时间:2020-11-23 12:16:41    阅读次数:8
守护IIS进程
private void ListenApplicationPool() { var manager = new Microsoft.Web.Administration.ServerManager(); System.Threading.ThreadPool.QueueUserWorkItem(( ...
分类:系统相关   时间:2020-11-18 12:35:05    阅读次数:14
分享一个Mysql操作方法类(MySql数据库连接、执行MySqlCommand命令、创建MySqlDataReader对象)
帮助类: using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; using MySq ...
分类:数据库   时间:2020-11-01 21:58:38    阅读次数:29
Rabbitmqpool
import pika import threading import random import uuid import json # 框架模块 from django.conf import settings """ Class: Parameters: Connectionsize:int类型 ...
分类:其他好文   时间:2020-10-30 13:20:38    阅读次数:39
Selenium中简单并发的实现
from threading import Thread from selenium import webdriver from time import sleep def baidu_search(): dr = webdriver.Chrome() dr.get('https://www.bai ...
分类:其他好文   时间:2020-10-30 12:32:07    阅读次数:21
C# 生成二维码
添加引用: ThoughtWorks.QRCode.dll System.Drawing using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Mi ...
分类:Windows程序   时间:2020-10-27 11:12:22    阅读次数:34
多线程
from threading import Event,Thread import logging,time FORMAT='%(asctime)s %(threadName)s %(thread)d %(message)s' logging.basicConfig(format=FORMAT,le ...
分类:编程语言   时间:2020-10-26 11:42:31    阅读次数:85
3244条   上一页 1 ... 4 5 6 7 8 ... 325 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!