码迷,mamicode.com
首页 >  
搜索关键字:do while循环    ( 14864个结果
Model2的实战开发
小组成员: 龙继平:201731062131 王阳:201731041215 王阳的任务———————————————————————————————— 1、编写新闻删除的js脚本 2、编写新闻编辑脚本 3、编写新闻编辑页面,采用simpleMDE()脚本,做的一个markdown编辑器。 <!DO ...
分类:其他好文   时间:2020-06-20 10:22:38    阅读次数:69
Networking overview
Networking overview One of the reasons Docker containers and services are so powerful is that you can connect them together, or connect them to non-Do ...
分类:Web程序   时间:2020-06-19 16:24:16    阅读次数:70
subprocess.call和subprocess.Popen
# 执行命令,返回是否执行成功retcode = subprocess.call("for tar in %s/*.tar.gz;do tar zxvf $tar -C %s;done" %(first_dir,first_dir))#执行命令,返回执行命令的结果,close_fds防止僵尸进程大量 ...
分类:其他好文   时间:2020-06-19 15:59:17    阅读次数:45
Couldn't find a tree builder with the features you requested: lxml. Do you need to install a parser library?----最终解
我在使用BeautifulSoup的时候对于html的解析器选择了lxml soup = BeautifulSoup(r.text, "lxml") 然后就报错了,Baidu和Google后都没有找到太满意的答案,他们的做法有的是将解析器更改成原生的Python解析器,还有的就是一些对我没有太大帮组 ...
分类:其他好文   时间:2020-06-19 13:36:47    阅读次数:47
102. 二叉树的层序遍历(队列+BFS+结构体)
题目描述 leetcode - 102:https://leetcode-cn.com/problems/binary-tree-level-order-traversal/ 解题关键 队列 BFS 结构体 碎碎念 这道题可以不用结构体,在while循环里面加一个for循环来遍历某一层的节点。但是很 ...
分类:其他好文   时间:2020-06-19 01:10:53    阅读次数:67
快速排序+归并排序
快排(双指针): void quick_sort(int q[],int l,int r) { if(l>=r)return ; int i=l-1,j=r+1,x=q[(l+r)>>1]; while(i<j) { do i++;while(q[i]<x); do j--;while(q[j]>x ...
分类:编程语言   时间:2020-06-18 21:11:23    阅读次数:66
MySQL主从复制什么原因会造成不一致,如何预防及解决?
MySQL主从复制什么原因会造成不一致,如何预防及解决? 一、导致主从不一致的原因主要有: 1、人为原因导致从库与主库数据不一致(从库写入)。 2、主从复制过程中,主库异常宕机。 3、设置了ignore/do/rewrite等replication等规则。 4、binlog非row格式。 5、异步复 ...
分类:数据库   时间:2020-06-18 19:51:29    阅读次数:74
使用ganymed-ssh2连接linux报错Cannot negotiate, proposals do not match.
Description HostAgent fails to establish SSH Connection to RedHat EL7 hostThe error reported when the agent attempts to connect to the host matches th ...
分类:系统相关   时间:2020-06-18 19:16:06    阅读次数:459
安装docker
1.之前下过docker又想重装就执行以下命令 $ sudo yum remove docker \ docker-client \ docker-client-latest \ docker-common \ docker-latest \ docker-latest-logrotate \ do ...
分类:其他好文   时间:2020-06-18 10:51:02    阅读次数:58
[LeetCode] 468. Validate IP Address
Write a function to check whether an input string is a valid IPv4 address or IPv6 address or neither. IPv4 addresses are canonically represented in do ...
分类:其他好文   时间:2020-06-17 09:19:26    阅读次数:55
14864条   上一页 1 ... 39 40 41 42 43 ... 1487 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!