会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
xiondun
博客园
首页
新随笔
联系
管理
订阅
上一页
1
···
19
20
21
22
23
24
25
26
27
···
31
下一页
2020年6月17日
pip自动生成和安装requirements.txt
摘要: 生成requirements.txt文件 pip freeze > requirements.txt 1 安装requirements.txt依赖 pip install -r requirements.txt
阅读全文
posted @ 2020-06-17 12:36 xiondun
阅读(278)
评论(0)
推荐(0)
2020年6月4日
39个前端精美后台模板
摘要: 39个前端精美后台模板 转自https://blog.csdn.net/qq_27667379/article/details/82081094 1.Ace_admin 下载地址:http://pan.baidu.com/s/1dFaRCCL 2.AdminEx 下载地址:http://pan.ba
阅读全文
posted @ 2020-06-04 13:27 xiondun
阅读(1509)
评论(0)
推荐(0)
2020年5月30日
redis-cli命令总结
摘要: redis-cli命令总结 转自http://www.cnblogs.com/silent2012/p/5368925.html 连接操作相关的命令 默认直接连接 远程连接-h 192.168.1.20 -p 6379 ping:测试连接是否存活如果正常会返回pong echo:打印 select:
阅读全文
posted @ 2020-05-30 09:02 xiondun
阅读(134)
评论(0)
推荐(0)
2020年5月28日
python生成随机数、随机字符串
摘要: python生成随机数、随机字符串 python生成随机数、随机字符串 import randomimport string # 随机整数:print random.randint(1,50) # 随机选取0到100间的偶数:print random.randrange(0, 101, 2) # 随
阅读全文
posted @ 2020-05-28 12:33 xiondun
阅读(250)
评论(0)
推荐(0)
2020年5月25日
Python日志模块之你还在用PRINT打印日志吗
摘要: import logging logging.basicConfig(level=logging.DEBUG, format='%(asctime)s %(filename)s[line:%(lineno)d] %(levelname)s %(message)s', datefmt='%a, %d
阅读全文
posted @ 2020-05-25 11:29 xiondun
阅读(1324)
评论(0)
推荐(0)
2020年5月23日
Go语言:调用系统默认浏览器打开指定链接(全平台)
摘要: Windows 代码实例: package main import ( "os/exec" "syscall" ) func main() { // 有GUI调用 exec.Command(`cmd`, `/c`, `start`, `https://www.jianshu.com`).Start(
阅读全文
posted @ 2020-05-23 10:14 xiondun
阅读(959)
评论(0)
推荐(0)
2020年5月21日
PHP创建多级目录 文件夹
摘要: /** * 创建多级目录 * * @param [type] $path * @return void */ function my_mkdir($path) { if (is_dir($path)) { // echo "目录 " . $path . " 已经存在!"; return true;
阅读全文
posted @ 2020-05-21 17:16 xiondun
阅读(204)
评论(0)
推荐(0)
PHP xml 转对象
摘要: simplexml_load_string($res, 'SimpleXMLElement', LIBXML_NOCDATA)
阅读全文
posted @ 2020-05-21 16:39 xiondun
阅读(451)
评论(0)
推荐(0)
PHP将数组转换为xml
摘要: /** * 将数组转换为xml * @param array $data 要转换的数组 * @param bool $root 是否要根节点 * @return string xml字符串 * @author Dragondean * @url http://www.cnblogs.com/drag
阅读全文
posted @ 2020-05-21 16:38 xiondun
阅读(2084)
评论(0)
推荐(0)
PHP对象转数组
摘要: function std_class_object_to_array($stdclassobject) { $_array = is_object($stdclassobject) ? get_object_vars($stdclassobject) : $stdclassobject; forea
阅读全文
posted @ 2020-05-21 16:11 xiondun
阅读(223)
评论(0)
推荐(0)
上一页
1
···
19
20
21
22
23
24
25
26
27
···
31
下一页
公告