学习总结week2_5
python容器型数据–字符串 一、字符串相关方法 字符串.xxx 1.字符串.join 序列 将序列中的元素用指定的字符串拼接在一起,形成一个新的字符串(序列中的元素必须是字符串) 如果需要join的序列中的元素不是字符串,就把他变成字符串 list1 = 'ww', 'wdaf', 'dwad...
2022-08-05 05:13【非鱼丶丶】
阅读更多day9-字符串作业
1. 输入一个字符串,打印所有奇数位上的字符 下标是1,3,5,7…位上的字符 例如: 输入’abcd1234 ’ 输出’bd24’ str1 = 'abcd1234' for index, item in enumerate str1 : if index % 2: print item, end...
2022-08-05 05:13【非鱼丶丶】
阅读更多学习总结week2_3
python容器型数据–字典 单目运算符: not 双目运算符: +、 、/ 、/、and、 三目运算符: if else 表达式2 if 表达式1 else 表达式3 num = 23, 4, 67, 88, 90, 21 nums = x / 2 if x % 2 else x // 2 fo...
2022-08-05 05:13【非鱼丶丶】
阅读更多day8字典作业
1. 定义一个变量保存一个学生的信息,学生信心中包括:姓名、年龄、成绩 单科 、电话、性别 student message = {'name': 'A', 'age': 18, 'English grades': 59, 'tel': '123456789', 'gender': 'man'} 1....
2022-08-05 05:13【非鱼丶丶】
阅读更多day6-列表作业
1. 基础题 1. 已知一个数字列表,打印列表中所有的奇数 num = 1, 2, 3, 4, 5 for x in num: if x % 2 = 0: print x 1. 已知一个数字列表,打印列表中所有能被能被3整除但是不能被2整除的数 num = 1, 2, 3, 4, 5 for x ...
2022-08-05 05:13【非鱼丶丶】
阅读更多学习总结week2_1
python容器型数据 一:列表 1)列表是容器型数据: 数据1, 数据2, 数据3, 数据4 2)特点:列表是可变的(指的是容器中元素的个数和值可变—支持增删改) 列表是有序的(支持下标操作) 3)元素的要求:无(可以是任何类型的数据,元素类型也可不一致) score = 100, 86, 15...
2022-08-05 05:13【非鱼丶丶】
阅读更多学习总结day5
python循环语句关键字 一:continue和break continue和break都是循环体关键字(只出现在循环中) 1)continue 结束一次循环(结束当次循环) 在执行循环体的时候如果遇到continue,那么这次循环结束,直接进入下次循环 2)break 结束整个循环 for x...
2022-08-05 05:13【非鱼丶丶】
阅读更多npm搭建本地服务器,直接运行build后的目录
一、安装 如果进行前端开发,需要发布代码时,需要对项目进行build,build后的文件只能放在服务器上边使用,如果手头没有服务器,或者不会弄服务器,那么就可以使用serve进行验证,还是比较方便的。可以支持更多参数,更详细的用法可以通过 serve h 查看。 / 全局安装本地服务器依赖 npm...
2022-08-05 05:13【程序猿_Mr. Guo】
阅读更多解决端口占用问题
一、打开命令窗口或者power shell 命令窗口:开始— 运行— cmd(window+R 组合键) PowerShell:开始— 运行— PowerShell 也可以直接搜索PowerShell 二、查找所有运行的端口 输入命令: netstat an...
2022-08-05 05:13【Ly666_ever】
阅读更多JSX基础
JSX基础 JSX 仅仅只是 React.createElement component, props, ...children 函数的语法糖。 如下: MyButton color='blue' shadowSize={2} Click Me /MyButton 会编译为: React.crea...
2022-08-05 05:13【@前端攻城狮】
阅读更多js实现数组去重
数组去重 1、使用Set function fn1 arr { const result = Array.from new Set arr ; return result; } 2、使用includes返回一个新数组 function fn2 arr { const newArr = ; for ...
2022-08-05 05:13【@前端攻城狮】
阅读更多Map、WeakMap
Map、WeakMap Map Map 对象保存键值对,并且能够记住键的原始插入顺序。任何值 对象或者原始值 都可以作为一个键或一个值。 一个Map对象在迭代时会根据对象中元素的插入顺序来进行,迭代时返回 key, value 形式的数组。 Map和Object的不同 : 1、Map默认不包含任何...
2022-08-05 05:13【@前端攻城狮】
阅读更多es6迭代协议
迭代协议 迭代协议分为两个协议: 可迭代协议 和 迭代器协议 。 可迭代协议 可迭代协议 允许 JavaScript 对象定义或定制它们的迭代行为。如果一个对象(或它原型链上的对象)实现了/ / Symbol.iterator 方法,称该对象满足可迭代协议,也称该对象为 可迭代对象/ / 。 Sy...
2022-08-05 05:13【@前端攻城狮】
阅读更多Calling Matlab configuration in pycharm: No module named 'matlab.engine'; 'matlab' is not a package
Using Pycharm configuration to call matlab experience sharing, browse a lot of posts to summarize, mainly this article: python calls matlab method rec...
2022-08-05 05:24【When you are full, you will be strong】
阅读更多02.01-----The role of parameter reference "&"
Parameters of the role of reference ", "to modify parameters need to be brought back, then use quotation marks" "no parameter references"/include "ios...
2022-08-05 05:24【A long way to go】
阅读更多Distributed and Clustered
Distributed: Different modules are deployed on different multiple servers, and they communicate with each other through rpc, rmi Cluster: The same mod...
2022-08-05 05:24【value growth】
阅读更多CAP+BASE
1. RDBMS: ACID 2. Distributed storage: CAP+BASE 2.1 CAP three-choice two Consistency (strong consistency) Availablility (availability) Partition toler...
2022-08-05 05:24【value growth】
阅读更多【After a while 6】Machine vision video 【After a while 2 was squeezed out】
On the 23rd, the first section on the 23rd began at 11:06. Machine vision - used in robots, computer vision - that computer vision depends on the tech...
2022-08-05 05:24【Mosu playing computer】
阅读更多HQL statement execution process
HQL statement execution process: 1. Grammar analysis: Antlr defines the grammar rules of SQL, completes SQL lexical, grammar analysis, and converts SQ...
2022-08-05 05:25【value growth】
阅读更多Pandas(五)—— 分类数据、读取数据库
Python模块 —— Pandas Pandas(五)—— 分类数据、读取数据库 Pandas 1 九、分类数据 3 9.1 cat对象 91 cat 4 9.2 有序分类 92 32 9.3 区间类别 93 37 9.3.1 利用cut和qcut进行区间构造 931 cutqcut 38 9....
2022-08-05 05:13【share16】
阅读更多
边栏推荐
- If capturable=False, state_steps should not be CUDA tensors
- How to solve the error cannot update secondary snapshot during a parallel operation when the PostgreSQL database uses navicat to open the table structure?
- Basic web in PLSQL
- shell语句修改txt文件或者sh文件
- Index Mysql in order to optimize paper 02 】 【 10 kinds of circumstances and the principle of failure
- LiveVideoStackCon 2022 上海站明日开幕!
- 三个多月、40余场面试浓缩为6000字
- 多线程查询结果,添加List集合
- 静态方法获取配置文件数据
- Dameng 8 database export and import
猜你喜欢
在疫情反复的当下,各行各业都受到了重创,唯有极个别的行业依旧发展得顺风顺水,比如:游戏行业~ https://img blog.csdnimg.cn/img convert/1d4b28655b31de5e71dbe414aa4e3a02.png 随着国家政策的大力扶持,文娱产业不断发展,游戏行业越...
Check the nginx log: https://img blog.csdnimg.cn/3a5b43c378f24119b094fb1bea841a69.png Found an error: 2022/08/04 10:33:44 emerg 25648/ 32516: could no...
近年来,人人都在讲复盘,测试工作当然也需要复盘。 沐沐建议阶段性测试工作完成后做一下缺陷分析,复盘时就可以使用客观的数据来分析存在的问题,不再是表达主观的感受,而是让“数据会说话”,从而提出改进方案。 以下内容将以去年的年度缺陷分析报告来举例分享我进行缺陷分析的几个维度。 以产品线为维度 统计分析缺...
On June 15, 2022, Microsoft announced the official retirement of the IE browser that has served for more than 25 years. The official blog said: After ...
1、实现原理分析 Linux的进程存在多种状态,可在include/linux/sched.h中查看。 1. // Used in tsk state: / / 1. / define TASK RUNNING 0x0000 1. / define TASK INTERRUPTIBLE 0x000...
/ 846. 第二大数字和 题意:给定长度为 n 2 ≤ n ≤ 1 0 5 n 2 leq n leq 10^5 n 2≤n≤105 的排列,问所有长度至少为 2 22 的子段次大值的和是多少。 题解: 数据结构 代码源每日一题 Div1 第二大数字和 O n 做法 代码源每日一题 Di...
Foreword The competition in the Internet industry is becoming more and more cruel. Only by constantly learning and improving our abilities can our eng...
0 x 01 背景 Ramnit病毒最早于2010年被发现,通过感染可执⾏⽂件和html⽂件传播。后续的变种中被增加了与C C通讯的功能,从⽽使攻击者可以控制Ramnit感染的僵⼫⽹络。 Ramnit蠕虫病毒会通过被感染的EXE、DLL、HTML、HTM文件传播,在正常电脑打开这些染毒文件会导致新...
目录 简述 %C2%A0%E7%AE%80%E8%BF%B0 配置RAID磁盘 %E9%85%8D%E7%BD%AERAID%E7%A3%81%E7%9B%98 检查是否安装mdadm软件 %C2%A0%E6%A3%80%E6%9F%A5%E6%98%AF%E5%90%A6%E5%AE%89%...
2. Kingbase GIS能力介绍 2.1. 概述 以5G、大数据中心、人工智能、工业互联网、物联网等为代表的新基建正成为我国经济发展的助推新引擎。作为新基建底层的安全重要保障,地理信息技术也将大有可为。随着GIS在各个行业的规模化应用,围绕GIS相关的技术研究、项目应用和市场推广应运而生,如...