上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 30 下一页
2021年10月15日
摘要: <!DOCTYPE html> <html> <head> <meta charset="UTF-8" /> <title>JS实现复制功能的方法 </title> </head> <script type="text/javascript"> function copyText(){ var te 阅读全文
posted @ 2021-10-15 09:52 boye169 阅读(409) 评论(0) 推荐(0) 编辑
2021年9月26日
摘要: <html> <textarea name="" id="text" cols="40" rows="10"> 第一行:这里输入的数据将保存为txt中 第二行:保存为文件 </textarea> <button id="save" type="button">保存</button> <script> 阅读全文
posted @ 2021-09-26 18:40 boye169 阅读(839) 评论(0) 推荐(0) 编辑
2021年9月11日
摘要: 使用dangerouslySetInnerHTML const element = (<div dangerouslySetInnerHTML={{__html:"<h1>hello,this is react</h1>"}} />); ReactDOM.render( element, docum 阅读全文
posted @ 2021-09-11 19:21 boye169 阅读(1412) 评论(0) 推荐(0) 编辑
2021年8月30日
摘要: 打开设备管理器 计算机——》管理——》设备管理器 将Preferred Band 值设置为2.2.4G first 阅读全文
posted @ 2021-08-30 22:16 boye169 阅读(1307) 评论(0) 推荐(0) 编辑
2021年8月12日
摘要: mysql> show variables like '%char%'; mysql> set character_set_client=utf8; 在任务管理器上查看mysql服务 重启mysql服务(以管理员身份) net stop mysql57 net start mysql57 阅读全文
posted @ 2021-08-12 22:45 boye169 阅读(66) 评论(0) 推荐(0) 编辑
2021年8月6日
摘要: yum install gcc gcc-c++ -y gcc -v 阅读全文
posted @ 2021-08-06 22:23 boye169 阅读(63) 评论(0) 推荐(0) 编辑
摘要: 上下文管理器是一个对象,它定义了在执行 with 语句时要建立的运行时上下文。 上下文管理器处理进入和退出所需运行时上下文以执行代码块。 通常使用 with 语句(在 with 语句中描述),但是也可以通过直接调用它们的方法来使用。 上下文管理器是一个实现了__enter__、__exit__魔法方 阅读全文
posted @ 2021-08-06 16:46 boye169 阅读(34) 评论(0) 推荐(0) 编辑
摘要: Counter:字典的子类,提供了可哈希对象的计数功能 defaultdict:字典的子类,提供了一个工厂函数,为字典查询提供了默认值 OrderedDict:字典的子类,保留了他们被添加的顺序 namedtuple:创建命名元组子类的工厂函数 deque:类似列表容器,实现了在两端快速添加(app 阅读全文
posted @ 2021-08-06 14:12 boye169 阅读(30) 评论(0) 推荐(0) 编辑
2021年7月28日
摘要: 添加新的一列 df = df.withColumn('col_name', F.lit(2)) new_col_name :是新的一列的名字 F.lit(2):是全部都为 2 的一列 按行合并两个datafeame(两个df必须要有相同的columns) df_concat = df1.union( 阅读全文
posted @ 2021-07-28 23:26 boye169 阅读(281) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/env python #-*- coding:utf-8 -*- from jinja2 import Template #content = open("test.tmpl",r,encoding="utf-8") content = """ {% for item in i 阅读全文
posted @ 2021-07-28 23:10 boye169 阅读(51) 评论(0) 推荐(0) 编辑
上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 30 下一页