会员
众包
新闻
博问
闪存
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
导航
博客园
首页
新随笔
联系
订阅
管理
公告
上一页
1
···
11
12
13
14
15
16
17
18
19
···
28
下一页
2019年1月8日
解决python发送multipart/form-data请求上传文件的问题
摘要: 服务器接收文件时,有时会使用表单接收的方式,这意味着我们需要使用Python的requests上传表单数据和文件。 常用的方式一般如下: files是封装好的参数,直接包括了文件内容,文件名,格式等,data则是表单内容,但这样做有一个问题,文件是中文名时,requests就会报错,哪怕encode
阅读全文
posted @ 2019-01-08 11:28 slqt
阅读(17051)
评论(0)
推荐(0)
编辑
2019年1月6日
python md5
摘要: hashlib.md5('test').hexdigest()
阅读全文
posted @ 2019-01-06 12:55 slqt
阅读(139)
评论(0)
推荐(0)
编辑
2019年1月3日
Django-jinjia2的赋值
摘要: 一 变量 1. 变量的形式是:{{ variable }},当模板引擎碰到变量时,引擎使用变量的值替代变量; 2. 使用“.”能够访问变量的属性; 3. 当模板引擎碰到“.”的时候,查找顺序是: a) 字典查找,foo['var']; b) 属性查找,foo.bar; c) 方法产找,foo.fun
阅读全文
posted @ 2019-01-03 17:49 slqt
阅读(2236)
评论(0)
推荐(0)
编辑
2018年12月26日
python多线程并发
摘要: 上述例子是多进程 下面是多线程
阅读全文
posted @ 2018-12-26 11:19 slqt
阅读(710)
评论(0)
推荐(0)
编辑
2018年12月25日
sqlite处理数据
摘要: # coding: UTF-8 import platform from _utils.patrol2 import run_cmd, data_format, report_format import os, sys, re, json, copy import stat import socket import stat import sqlite3 # # conn=sqlite3.co...
阅读全文
posted @ 2018-12-25 14:42 slqt
阅读(242)
评论(0)
推荐(0)
编辑
2018年12月24日
网站开发记录
摘要: 配置coding的git git init git remote add origin <git项目地址>git pull <git项目地址>git add . git commit git push origin master 老是报hint: See the 'Note about fast-f
阅读全文
posted @ 2018-12-24 17:23 slqt
阅读(262)
评论(0)
推荐(0)
编辑
2018年12月6日
Unity打包PC端各种屏幕适配,无边框,最小化,显示可拖拽部分
摘要: using UnityEngine; using System.Collections; using UnityEngine.EventSystems; //using UnityEngine.SceneManagement; using System; using UnityEngine.UI; using System.Runtime.InteropServices; public cl...
阅读全文
posted @ 2018-12-06 17:27 slqt
阅读(3281)
评论(1)
推荐(0)
编辑
unity实现剧情对话
摘要: https://blog.csdn.net/qinyuanpei/article/details/48435063 一点思考http://www.ceeger.com/forum/read.php?tid=18229 工具介绍 https://blog.csdn.net/swordfishx82/a
阅读全文
posted @ 2018-12-06 16:51 slqt
阅读(1837)
评论(0)
推荐(0)
编辑
左侧滚动条js
摘要:
阅读全文
posted @ 2018-12-06 16:38 slqt
阅读(461)
评论(0)
推荐(0)
编辑
服务器上搭建简易报表
摘要: 教程参见 http://webpy.org/install.zh-cn pip install web.py 或easyinstall web.py
阅读全文
posted @ 2018-12-06 10:17 slqt
阅读(341)
评论(0)
推荐(0)
编辑
上一页
1
···
11
12
13
14
15
16
17
18
19
···
28
下一页