上一页 1 ··· 28 29 30 31 32 33 34 35 36 ··· 87 下一页

2017年2月10日

摘要: Configure Fiddler Click Tools > Fiddler Options > Connections. Click the checkbox by Allow remote computers to connect. Restart Fiddler. Ensure your f 阅读全文
posted @ 2017-02-10 11:56 帅胡 阅读(3182) 评论(0) 推荐(0) 编辑
摘要: Configure Fiddler Click Tools > Fiddler Options > Connections. Ensure that the checkbox by Allow remote computers to connect is checked. If you check 阅读全文
posted @ 2017-02-10 11:55 帅胡 阅读(596) 评论(0) 推荐(0) 编辑

2017年2月9日

摘要: 1. os.system import os import shutil import tempfile filename1 = tempfile.mktemp (".txt") open (filename1, "w").close () filename2 = filename1 + ".cop 阅读全文
posted @ 2017-02-09 17:21 帅胡 阅读(1866) 评论(0) 推荐(0) 编辑

2017年1月21日

摘要: 举几个例子来介绍一下,Python 的 CSV模块的使用方法,包括,reader, writer, DictReader, DictWriter.register_dialect 一直非常喜欢python的csv模块,简单易用,经常在项目中使用,现在举几个例子说明一下。 reader(csvfile 阅读全文
posted @ 2017-01-21 22:18 帅胡 阅读(17502) 评论(0) 推荐(0) 编辑

2017年1月15日

摘要: 首先来设置一个原始的字符串, 按utf-8的方式编码,转成bytes 按gb2312的方式编码,转成bytes 解码成string,默认不填 解码成string,使用gb2312的方式 阅读全文
posted @ 2017-01-15 21:44 帅胡 阅读(347) 评论(0) 推荐(0) 编辑
摘要: LPUSH list_name value [value ...] Prepend one or multiple values to a list 从左侧插入值,最早插入的值在最右边 LPUSHX list_name value Prepend a value to a list, only if 阅读全文
posted @ 2017-01-15 14:15 帅胡 阅读(4205) 评论(0) 推荐(0) 编辑
摘要: 一、redis redis是一个key-value存储系统。和Memcached类似,它支持存储的value类型相对更多,包括string(字符串)、list(链表)、set(集合)、zset(sorted set --有序集合)和hash(哈希类型)。这些数据类型都支持push/pop、add/r 阅读全文
posted @ 2017-01-15 14:12 帅胡 阅读(845) 评论(0) 推荐(0) 编辑

2017年1月13日

摘要: 下载地址 https://dev.mysql.com/downloads/connector/c/ 使用libmysql.lib和libmysql.dll进行操作mysql 阅读全文
posted @ 2017-01-13 15:06 帅胡 阅读(326) 评论(0) 推荐(0) 编辑

2017年1月12日

摘要: 下载安装包去如下位置: https://github.com/MSOpenTech/redis/releases 下载源代码编译代码如下位置: https://github.com/MSOpenTech/redis/tree/3.2 https://github.com/MSOpenTech/red 阅读全文
posted @ 2017-01-12 18:21 帅胡 阅读(154) 评论(0) 推荐(0) 编辑

2017年1月7日

摘要: 1 import smtplib 2 from email.mime.text import MIMEText 3 4 mail_user = "user1@qq.com" 5 mail_pwd = "password" 6 mailto_list=["user2@qq.com", "user3@qq.com"] 7 8 def send_mail(from_addre... 阅读全文
posted @ 2017-01-07 23:10 帅胡 阅读(319) 评论(0) 推荐(0) 编辑
上一页 1 ··· 28 29 30 31 32 33 34 35 36 ··· 87 下一页

导航