客户端提交图片,服务端接收图片,并将其保存(保存的图片名为当前时间) 客户端 1 from socket import * 2 import datetime 3 4 with open('1.JPG','rb') as rimg: 5 img=rimg.read() 6 7 8 9 10 11 1 ...
分类:
其他好文 时间:
2020-07-10 20:58:00
阅读次数:
66
初次使用时的一些问题 [ERROR] Target process 116477 is not the process using port 3658, you will connect to an unexpected process. [ERROR] 1. Try to restart arth ...
分类:
其他好文 时间:
2020-07-10 20:42:38
阅读次数:
259
var mongooes=require("mongoose"); mongooes.connect("mongodb://localhost/my_test",{useMongoClient:true}) mongooes.connection.once("open",function(){ co ...
分类:
其他好文 时间:
2020-07-10 15:37:04
阅读次数:
64
Mac配置前端开发环境及遇到的问题与解决方案 MacOS版本:10.15.3 一,安装brew 问题:curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused的解决办法 解决方案:打不开 ...
分类:
系统相关 时间:
2020-07-10 15:09:17
阅读次数:
107
pymysql.Connect()参数说明 host(str): MySQL服务器地址 port(int): MySQL服务器端口号 user(str): 用户名 passwd(str): 密码 db(str): 数据库名称 charset(str): 连接编码 connection对象支持的方法 ...
分类:
数据库 时间:
2020-07-10 13:30:04
阅读次数:
87
官方地址:https://wiki.connect.qq.com/qq%E7%99%BB%E5%BD%95 添加 open_sdk_xxxx_lite.jar 必要权限 <uses-permission android:name="android.permission.INTERNET" /> <u ...
分类:
移动开发 时间:
2020-07-10 11:28:57
阅读次数:
155
接下来我们介绍新内容,OAuth2.0叫做授权码(authorization code),在OpenID Connect中则属于OpenId Connect Flow,称为授权码流程(Authorization Code Flow),这种方式主要场景: 保密客户端,服务器端的web应用 例如asp. ...
分类:
其他好文 时间:
2020-07-10 10:05:04
阅读次数:
186
例子一: 注意事务的运用 <?php //php秒杀 redis并发处理 function miaoshao(){ $redis = new Redis;//diy redis操作类 //连接 $redis->connect('127.0.0.1', 6379,30); //设置密码 $redis- ...
分类:
Web程序 时间:
2020-07-09 22:20:44
阅读次数:
103
快速编码,功能完善。从启动到部署,实例详解异步 py3 框架选择 FastAPI 的原因。 FastAPI 介绍 FastAPI 与其它 Python-Web 框架的区别 在 FastAPI 之前,Python 的 Web 框架使用的是 django、flask、tornado 三种 Web 框架。 ...
分类:
编程语言 时间:
2020-07-09 10:48:39
阅读次数:
71