码迷,mamicode.com
首页 >  
搜索关键字:host name    ( 109310个结果
Python_redis
import redisr = redis.Redis(host = "118.xx.x.xx",password="xxxxxx*",port=xxxx,db=4)r = redis.Redis(host = "118.xx.x.xx",password="xxxxxx*",port=xxxx,d ...
分类:编程语言   时间:2021-06-06 19:33:19    阅读次数:0
Python_发送邮件
import yamailusername = "xxxxxx@qq.com"password = "xxxxxx"host = "smtp.qq.com"# host = "smtp.163.com" #163# host = "smtp.126.com" #qq# smtp.send(to="a ...
分类:编程语言   时间:2021-06-06 19:32:03    阅读次数:0
Pandas常用操作 - 去重
1. 使用 drop_duplicates 去重 1.1 初始化数据 df = pd.DataFrame({'stu_name': ['Tom', 'Tony', 'Jack', 'Jack', np.nan], 'stu_age': [16, 16, 15, np.nan, 21]}) stu_n ...
分类:其他好文   时间:2021-06-06 19:31:16    阅读次数:0
Docker安装Redis集群
拉取redis镜像 docker pull redis 创建redis容器 docker create --name redis-node1 --net host -v /data/redis-data/node1:/data redis --cluster-enabled yes --cluste ...
分类:其他好文   时间:2021-06-06 19:28:17    阅读次数:0
P1590 失踪的7
这么简洁的题目当然不用数位 DP 啦。 将 \(n\) 搞成 \(10\) 的幂次之和计算。枚举后缀长度 \(i\),考虑它的贡献,因为不能填 \(7\) 也不用考虑前导零所以就是 \(9^i\)。 然后乘上 \(n-i\) 位置上的数字能取到的数量即可。 code: #include<bits/s ...
分类:其他好文   时间:2021-06-06 19:26:26    阅读次数:0
vscode
#vscode插件 #vscode代码片段 { // Place your 全局 snippets here. Each snippet is defined under a snippet name and has a scope, prefix, body and // description. ...
分类:其他好文   时间:2021-06-06 19:18:17    阅读次数:0
实验6 结构体
#include<stdio.h> #include<stdlib.h> #include<string.h> #define N 2 typedef struct student { int id; /* 学生学号 */ char name[20]; /* 学生姓名 */ char subject ...
分类:其他好文   时间:2021-06-06 19:16:23    阅读次数:0
Python | python基础(四) - 字符串和编码
分支循环判断 1. 判断 1.1. if/else python的条件判断是什么? python中使用if,else,elif 作为条件判断 使用缩进表示 层级关系 如果if判断为true ,则执行下面的缩进的语句 如果if判断为false,则不执行,如果还有else,则执行else的语句 ?Exa ...
分类:编程语言   时间:2021-06-06 19:15:44    阅读次数:0
系统结构总结
<!doctype html> <html> <head> <meta charset='UTF-8'><meta name='viewport' content='width=device-width initial-scale=1'> <title>系统结构复习</title> </head> ...
分类:其他好文   时间:2021-06-06 19:11:48    阅读次数:0
Django实现MySQL读写分离
Django实现MySQL读写分离 1. 增加slave数据库的配置 DATABASES = { 'default': { # 写(主机) 'ENGINE': 'django.db.backends.mysql', # 数据库引擎 'HOST': '192.168.103.158', # 数据库主机 ...
分类:数据库   时间:2021-06-06 19:02:54    阅读次数:0
109310条   上一页 1 ... 33 34 35 36 37 ... 10931 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!