码迷,mamicode.com
首页 >  
搜索关键字:python list map string    ( 291120个结果
三元运算符及小结
第14行代码输出的结果是1020 第15行代码输出的结果是30 代码(“”)是字符串 String 字符串在前则会对后面的结果进行拼接 字符串在后则对结果直接相加 三元运算符 ...
分类:其他好文   时间:2021-07-01 16:52:06    阅读次数:0
什么是 Python Django Flask &Tornado
什么是 Python? | 甲骨文开发人员 https://developer.oracle.com/python/what-is-python/ Coroutines and concurrency — Tornado 6.1 documentation https://www.tornadowe ...
分类:编程语言   时间:2021-07-01 16:45:20    阅读次数:0
Python_基本数据类型和序列的概念及使用方法
Python基本数据类型 数字 整数:正整数、负整数、0 浮点数:整数和小数部分组成,也可用科学记数法表示 复数:实部和虚部组成,表示一个复数时可以将其实部和虚部相加(例:3.14+12.5j) 字符串 字符串就是连续的字符序列,可以是计算机所能表示的一切字符的集合。 字符串为不可变序列。字符串的使 ...
分类:编程语言   时间:2021-07-01 16:44:57    阅读次数:0
设计模式-七大设计原则-依赖倒转原则
一、依赖倒转原则介绍 二、依赖倒转原则引入 1.方式一(传统方式) public class DependencyInversion { public static void main(String[] args) { Person person = new Person(); person.rec ...
分类:其他好文   时间:2021-07-01 16:40:10    阅读次数:0
设计模式-七大设计原则-单一职责原则
一、单一职责原则介绍 二、单一职责原则引入 1.方式一(违反了单一职责原则) 解析:摩托车、汽车是公路上运行的,但飞机并不是在公路上运行的。 public class SingleResponsibility1 { public static void main(String[] args) { / ...
分类:其他好文   时间:2021-07-01 16:31:05    阅读次数:0
python性能工具--初识locust
一、官方示例 地址:https://docs.locust.io/en/stable/quickstart.html#how-to-write-a-real-locust-file 二、安装Locust Windows系统安装locust: 直接通过 pip install locustio 命令安 ...
分类:编程语言   时间:2021-07-01 16:30:11    阅读次数:0
kingbaseES R6 集群手工切换案例
1、当前集群状态 [kingbase@ECOLABAPP37 bin]$ ./repmgr cluster show ID | Name | Role | Status | Upstream | Location | Priority | Timeline | Connection string + ...
分类:其他好文   时间:2021-07-01 16:27:49    阅读次数:0
利用python库识别图片中的文字
一、安装 需要安装两个库和一个识别引擎tesseract-ocr 1 pip install pytesseract 2 pip install pillow windows安装识别引擎,打开这个站点找到最新版下载后安装即可:https://digi.bib.uni-mannheim.de/tess ...
分类:编程语言   时间:2021-07-01 16:25:13    阅读次数:0
PaddleDetection 导出PP-YOLO 类型模型时报错AssertionError: Bad argument number for Assign: 2, expecting 3 解决记录
详细报错记录: paddle_38) ziyueshijue@ziyueshijue-desktop:~/work/cppwork/padleDemo/model/PaddleDetection$ python tools/export_model.py -c configs/ppyolo/ppyo ...
分类:其他好文   时间:2021-07-01 16:23:33    阅读次数:0
JavaScript(1)高阶函数filter、map、reduce
前言 需求:有这样一个数组[10, 20, 110, 200, 60, 30, 40] 1.筛选出数组中小于100的元素 2.将筛选出的每个元素的值x2 3.完成第2步之后,将数组中的所有元素加起来 普通方法 如果我们还没接触过filter、map、reduce,那么就是用for循环 <script ...
分类:编程语言   时间:2021-07-01 16:21:52    阅读次数:0
291120条   上一页 1 ... 16 17 18 19 20 ... 29112 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!