码迷,mamicode.com
首页 >  
搜索关键字:with_dict    ( 5061个结果
SCM Exists 关联查询
Exists 效率应该比in 高一些 SELECT DictItemID,DictSortCode,DictSortId,DictItemName,DictItemSName from scm_dict where EXISTS( SELECT DictSortCode FROM scm_dict_ ...
分类:其他好文   时间:2020-03-04 21:20:32    阅读次数:65
Python函数-4 迭代器
迭代器 在介绍迭代器之前,先说明下迭代的概念: 迭代:通过for循环遍历对象的每一个元素的过程。 Python的for语法功能非常强大,可以遍历任何可迭代的对象。 在Python中,list/tuple/string/dict/set/bytes都是可以迭代的数据类型。 可以通过collection ...
分类:编程语言   时间:2020-03-02 20:57:56    阅读次数:59
Python学习15之python内置六大标准类型
1.六大标准类型:数值型,str,list,set,tuple,dic 2.数值型:int,float,bool,complex 3.区别: 1)数值型和str,tuple都是不可变类型 而list,set,dict值可变类型 2)数值,str是标量类型 str,list,tuple,set,dic ...
分类:编程语言   时间:2020-03-02 20:47:48    阅读次数:74
python urllib.parse.urlencode()和字典自定义ascii排序
#标注 sorted()函数默认按ascii排序# coding=utf-8import urllibdict_param={"test":"FFFF","Aadmin":"33FFFHtest","key":"values"}target=sorted(dict_param.items(),key ...
分类:编程语言   时间:2020-03-02 20:33:07    阅读次数:121
resty的理解
无头的openresty,去掉了守护运行,把代码加载到init_worker_by_lua directive处执行run in the context of ngx.timer callback里面resty --shdict='dogs 1m' -e 'local dict = ngx.shar ...
分类:其他好文   时间:2020-03-01 12:39:57    阅读次数:105
拓扑排序
1.图 amap=dict() amap[a]=[b,c,d] amap[c]=[b,e] amap[d]=[e] amap[f]=[d,e] 2.每个节点的入度 a b c d e f 0 1 2 3 4 5 6 indegree=[0,0,2,1,2,3,0] 3.用于存放入度为0的节点的队列 ...
分类:编程语言   时间:2020-03-01 12:09:29    阅读次数:101
python之找字典dict中的最大/小值
dogdistance = {'dog-dog': 33, 'dog-cat': 36, 'dog-car': 41, 'dog-bird': 42} min(dogdistance, key=dogdistance.get) 返回最小值的键值: 'dog-dog' max(dogdistance, ...
分类:编程语言   时间:2020-03-01 10:59:24    阅读次数:157
sq注入与python操作mysql
mysq注入 就是利用mysql 语法 使其 查询条件永远为真 解决方案 让mysql帮我们拼接 查询 增 操作文件 建表 文件内容 利用python操作 ...
分类:数据库   时间:2020-03-01 10:56:25    阅读次数:106
MySQL InnoDB架构
一、InnoDB架构 InnoDB架构 Memory Buffer Pool 用途 缓存InnoDB表、索引以及其他辅助buffer 组成 Data/Index Page Cache Change Buffer 用途 当page不在BF中时,缓存非唯一索引pages的变更(DML),避免从磁盘读取非 ...
分类:数据库   时间:2020-03-01 00:14:12    阅读次数:73
qa问答机器人pysparnn问题的召回
""" 构造召回的模型 """ from sklearn.feature_extraction.text import TfidfVectorizer import pysparnn.cluster_index as ci from cut_sentence import cut import js ...
分类:其他好文   时间:2020-02-29 22:50:15    阅读次数:127
5061条   上一页 1 ... 42 43 44 45 46 ... 507 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!