码迷,mamicode.com
首页 >  
搜索关键字:fetch data from data    ( 119818个结果)
pymysql 连接池
import pymysql from pymysql.cursors import DictCursor from queue import Queue import threading class Pool: def __init__(self,size,*args,**kwargs): sel ...
分类:数据库   时间:2020-12-18 13:14:03    阅读次数:3
ORM框架实现 & sqlalchemy
import pymysql from pymysql.cursors import DictCursor # class Field: # def __init__(self,name,column=None,chief=False,unique=False,index=False,nullabl ...
分类:数据库   时间:2020-12-18 13:13:19    阅读次数:4
mailx
安装 yum install mailx -y查询配置文件 rpm -qc mailx /etc/mail.rc配置配置文件 set from=626746XXX@qq.com set smtp=smtps://smtp.qq.com:465 set smtp-auth-user=626746XXX ...
分类:其他好文   时间:2020-12-18 13:12:19    阅读次数:3
WSGI web框架的实现
from wsgiref.simple_server import make_server from webob import Response, Request, exc, dec import re, traceback, logging class Dict2Obj(object): def ...
分类:Web程序   时间:2020-12-18 13:11:36    阅读次数:3
RabbitMQ-2介绍
简介RabbitMQ:接受消息再传递消息,可以视为一个"邮局"。发送者和接受者通过队列来进行交互,队列的大小可以视为无限的,多个发送者可以发生给一个队列,多个接收者也可以从一个队列中接受消息。coderabbitmq使用的协议是amqp,用于python的推荐客户端是pikapipinstallpika-ihttps://pypi.douban.com/simple/生产者:s
分类:其他好文   时间:2020-12-18 13:11:00    阅读次数:3
@Configuration在SpringBoot中是如何被处理的?
从SpringApplication开始一般情况下启动SpringBoot都是新建一个类包含main方法,然后使用SpringApplication.run来启动程序:@SpringBootApplicationpublicclassAutoConfigApplication{publicstaticvoidmain(String[]args){ConfigurableApplicationCon
分类:编程语言   时间:2020-12-18 13:10:13    阅读次数:4
charles fake&mock学习随笔
将数据中的某个字段重复排列出来,fake这部分,达到一条数据变成上千条数据展示 raw=$(cat /tmp/stock.json) 重复多次执行: raw=$(echo $raw |jq '.data.items+=.data.items'| jq '.data.items_size+=.data ...
分类:其他好文   时间:2020-12-18 13:09:39    阅读次数:3
freeswitch.xml介绍
freeswitch.xml 说明 XML的根是 document 在document是由多个section组成,每个section对应一部分功能。其中有两个X-PRE-PROCESS预处理指令,它的作用是将data参数指定的文件内容包含include到当前文件中来。 <?xml version=" ...
分类:其他好文   时间:2020-12-18 13:09:21    阅读次数:3
实验4 汇编应用编程和c语言程序反汇编分析
实验四 实验任务1 任务内容: 教材「实验9 根据材料编程」(P187-189) 编程:在屏幕中间分别显示绿色、绿底红色、白底蓝色的字符串'welcome to masm!'。 程序正确编写后,预期输出结果如下: 实验结果 assume cs:code data segment db 'welcom ...
分类:编程语言   时间:2020-12-18 13:09:00    阅读次数:3
运行进程
没学会 先存一个留着吗慢慢看 from translations import Machineclass Matter(object): passmodel = Matter()states = ['New', 'Ready', 'Waiting', 'Running', 'Terminated'] ...
分类:系统相关   时间:2020-12-18 13:01:30    阅读次数:3
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!