上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 44 下一页
摘要: 按照当前的趋势估计 go 之后的版本都是用 go mod 来管理了,gopath 这种模式感觉会被淘汰。 go mod help 查看帮助 go mod init<项目模块名称>初始化模块,会在项目根目录下生成 go.mod 文件。 go mod tidy 根据 go.mod 文件来处理依赖关系。 阅读全文
posted @ 2022-02-23 18:22 ty1539 阅读(250) 评论(0) 推荐(0) 编辑
摘要: 参考: https://www.cnblogs.com/chanshuyi/p/02_grafana_quick_start.html https://www.cnblogs.com/momoyan/p/9943268.html https://blog.csdn.net/runner668/art 阅读全文
posted @ 2022-02-15 15:39 ty1539 阅读(91) 评论(0) 推荐(0) 编辑
摘要: dir, _ := os.UserConfigDir() fmt.Println(dir) //结果 //C:\Users\86176\AppData\Roaming 阅读全文
posted @ 2022-02-15 14:44 ty1539 阅读(38) 评论(0) 推荐(0) 编辑
摘要: windows 升级pip报错, AttributeError: 'NoneType' object has no attribute 'bytes' 用这个命令 python -m pip install -U --force-reinstall pip 阅读全文
posted @ 2022-02-13 16:42 ty1539 阅读(38) 评论(0) 推荐(0) 编辑
摘要: / 从上往下搜索, ? 从下往上搜索 vim 查看的内容超出屏幕时 z,j 向下翻看, k 向上翻看 b 整页上移, f整页下移, u 半页上移, d 半页下移, g 跳到第一行, G 跳到最后一行, :3g 调到第三行, 阅读全文
posted @ 2022-02-12 18:23 ty1539 阅读(104) 评论(0) 推荐(0) 编辑
摘要: https://blog.51cto.com/jackor/2997253 https://my.oschina.net/kevwan/blog/5412090 阅读全文
posted @ 2022-01-24 15:40 ty1539 阅读(21) 评论(0) 推荐(0) 编辑
摘要: django filter 文章 https://blog.csdn.net/weixin_42134789/article/details/111714018 Django 3.0实战: 仿链家二手房信息查询网(附GitHub源码) http://mp.weixin.qq.com/s?__biz= 阅读全文
posted @ 2022-01-21 09:46 ty1539 阅读(15) 评论(0) 推荐(0) 编辑
摘要: 参考 https://blog.csdn.net/hpu_yly_bj/article/details/78939748 案例写在自己的orm、db_tools项目练习中, cmd中输入: python manage.py shell 进入python的环境 from app01.models im 阅读全文
posted @ 2022-01-13 19:05 ty1539 阅读(587) 评论(0) 推荐(0) 编辑
摘要: 参考自:https://www.jianshu.com/p/937464304096 阅读全文
posted @ 2022-01-13 15:55 ty1539 阅读(28) 评论(0) 推荐(0) 编辑
摘要: Python 两个版本中字符串的区别 Python2到python3版本一个最大的最明显的区别就是python3支持中文了 python2:python2使用的是ASCII码编码的,所以默认是不支持中文的,程序中有中文都不能正常的保存。但是可以在开头加上这句# -- coding:utf-8 -- 阅读全文
posted @ 2022-01-06 23:38 ty1539 阅读(153) 评论(0) 推荐(0) 编辑
上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 44 下一页