08 2017 档案

Searching for equivalent of FileNotFoundError in Python 2
摘要:I created a class named Options. It works fine but not not with Python 2. And I want it to work on both Python 2 and 3. The problem is identified: Fil 阅读全文

posted @ 2017-08-19 16:52 帅胡 阅读(221) 评论(0) 推荐(0)

Redis在windows下安装过程
摘要:一、下载windows版本的Redis github下载地址:https://github.com/MicrosoftArchive/redis/releases 二、安装Redis 1.这里下载的是Redis-x64-3.2.100版本,我的电脑是win7 64位,所以下载64位版本的,在运行中输 阅读全文

posted @ 2017-08-19 12:15 帅胡 阅读(150) 评论(0) 推荐(0)

python cmd命令调用
摘要:关于python调用cmd命令: 主要介绍两种方式: 1.python的OS模块。 OS模块调用CMD命令有两种方式:os.popen(),os.system(). 都是用当前进程来调用。 os.system是无法获取返回值的。当运行结束后接着往下面执行程序。用法如:OS.system("ipcon 阅读全文

posted @ 2017-08-17 22:18 帅胡 阅读(484) 评论(0) 推荐(0)

C语言操作Redis总结
摘要:1 #include "hiredis.h" 2 3 #define NO_QFORKIMPL 4 #pragma comment(lib,"hiredis.lib") 5 #pragma comment(lib,"Win32_Interop.lib") 6 7 int get_int_command(char int_command[200]) 8 { ... 阅读全文

posted @ 2017-08-05 22:30 帅胡 阅读(4069) 评论(0) 推荐(0)

导航