会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
无双隐士
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
2020年5月
使用codecs模块将UTF-8格式转换成gbk格式
摘要: #coding:utf-8 import os import codecs def ReadFile(filePath, encoding): with codecs.open(filePath, "r", encoding=encoding) as f: return f.read() def W
阅读全文
posted @ 2020-05-13 18:41 隐士无双
阅读(337)
评论(0)
推荐(0)
2020年4月
linux 重启服务器命令
摘要: 转自:https://blog.csdn.net/zhuxiongyin/article/details/84871203 Linux有如下的关机和重启命令:shutdown, reboot, halt, poweroff,那么它们有什么区别呢? shutdown - 建议使用的命令shutdown
阅读全文
posted @ 2020-04-29 16:19 隐士无双
阅读(2507)
评论(0)
推荐(0)
2020年3月
使用python2与python3创建简单的http服务
摘要: python2基于SimpleHTTPServer创建http服务 首先,在linux服务器上面检查一下自己的python版本;如: 1 2 [root@tx_db1 ~]# python -V Python 2.7.13 一、在2.7的环境下,使用如下命令; 1 2 [root@tx_db1 ac
阅读全文
posted @ 2020-03-19 16:33 隐士无双
阅读(1612)
评论(0)
推荐(0)
上一页
1
2
公告