码迷,mamicode.com
首页 >  
搜索关键字:replace    ( 7027个结果)
sqlServer2008升级2016raiserror语法修改工具
private void btnUpdate_Click(object sender, EventArgs e) { List<string> listFileName = Directory.GetFiles(@AppConfig.FilePath).ToList(); StringBuilder ...
分类:数据库   时间:2020-06-27 09:39:08    阅读次数:86
Python爬虫+可视化图形库Pyecharts
源码: from pyecharts import Bar import re import requests num=0 b=[] for i in range(1,11): link='https://www.cnblogs.com/echoDetected/default.html?page= ...
分类:编程语言   时间:2020-06-26 18:08:35    阅读次数:95
浙大保研2019年上机题 7-1 Happy Numbers (20分)
7-1 Happy Numbers (20分) A happy number is defined by the following process: Starting with any positive integer, replace the number by the sum of the s ...
分类:移动开发   时间:2020-06-26 14:26:29    阅读次数:90
查看Nubmer.prototype实例新增的方法
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>查看一下Nubme ...
分类:其他好文   时间:2020-06-25 21:46:32    阅读次数:76
数据类型、字符编码、文件处理
一,数据类型 1,数字(整形,长整形,浮点型,复数) 2字符串 需要掌握的: #1、strip,lstrip,rstrip #2、lower,upper #3、startswith,endswith #4、format的三种玩法 #5、split,rsplit #6、join #7、replace ...
分类:其他好文   时间:2020-06-25 21:12:49    阅读次数:54
js不打开直接下载txt文件
/** * 获取页面文件名 * @param url 文件url */ function downloadUrlFile(url) { url = url.replace(/\\/g, '/'); const xhr = new XMLHttpRequest(); xhr.open('GET', u ...
分类:Web程序   时间:2020-06-25 11:52:04    阅读次数:442
pt-online-schema-change 的使用
pt-online-schema-change 最佳实践 pt的详细步骤 Step 1: Create the new table. Step 2: Alter the new, empty table. This should be very quick, or die if the user s ...
分类:其他好文   时间:2020-06-24 14:29:41    阅读次数:49
SQL 打印SqlParameter
private static void PRINTSQL(string sqlStr, List<SqlParameter> Parameter) { for (int i = 0; i < Parameter.Count; i++) { sqlStr=sqlStr.Replace("@" + Pa ...
分类:数据库   时间:2020-06-24 14:16:44    阅读次数:55
很经典的一段代码-django source code
1 def _parse_known_args(self, arg_strings, namespace): 2 # replace arg strings that are file references 3 if self.fromfile_prefix_chars is not None: 4 ...
分类:其他好文   时间:2020-06-24 14:04:54    阅读次数:54
URL中出现特殊字符,URL重新加载出现错误
解决方式: 对特殊字符进行转义 例如URL中出现‘()’ 可以使用如下方法 replace('%28','(') //对'('进行转义 replace('%29','(') //对')'进行转义 转义后url的重新加载就不会有问题了 若是需要转义回来,使用上面同种方式转 ...
分类:Web程序   时间:2020-06-24 12:18:42    阅读次数:56
共7027条   上一页 1 ... 22 23 24 25 26 ... 703 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!