上一页 1 2 3 4 5 6 7 ··· 83 下一页
摘要: 一,安装requests 1,用pip安装 (venv) liuhongdi@192 news % pip3 install requests 2,查看所安装库的版本: (venv) liuhongdi@192 news % pip3 show requests Name: requests Ver 阅读全文
posted @ 2024-02-21 16:02 刘宏缔的架构森林 阅读(21) 评论(0) 推荐(0) 编辑
摘要: 一,安装requests 1,用pip安装 (venv) liuhongdi@192 news % pip3 install requests 2,查看所安装库的版本: (venv) liuhongdi@192 news % pip3 show requests Name: requests Ver 阅读全文
posted @ 2024-02-21 12:15 刘宏缔的架构森林 阅读(27) 评论(0) 推荐(0) 编辑
摘要: 一,官方文档: https://docs.python.org/zh-cn/3/library/json.html 二,json与字典的相互转化 1,字典转json字符串 1 2 3 4 5 6 7 import json # 字典转json d = dict(name='Tom', age=2, 阅读全文
posted @ 2024-02-20 22:04 刘宏缔的架构森林 阅读(8) 评论(0) 推荐(0) 编辑
摘要: 一,安装requests 1,用pip安装 (venv) liuhongdi@192 news % pip3 install requests 2,查看所安装库的版本: (venv) liuhongdi@192 news % pip3 show requests Name: requests Ver 阅读全文
posted @ 2024-02-20 16:26 刘宏缔的架构森林 阅读(50) 评论(0) 推荐(0) 编辑
摘要: 一,安装SQLAlchemy 1,用pip安装 (venv) [liuhongdi@img news]$ pip3 install sqlalchemy 2,安装完成后查看已安装的版本: (venv) [liuhongdi@img news]$ pip3 show sqlalchemy Name: 阅读全文
posted @ 2024-02-19 18:24 刘宏缔的架构森林 阅读(14) 评论(0) 推荐(0) 编辑
摘要: 一,生成目录和生成配置文件 创建目录和配置文件 [liuhongdi@img news]$ mkdir conf [liuhongdi@img news]$ cd conf/ [liuhongdi@img conf]$ vi conf.yaml [liuhongdi@img conf]$ more 阅读全文
posted @ 2024-02-19 12:44 刘宏缔的架构森林 阅读(12) 评论(0) 推荐(0) 编辑
摘要: 一,第一种方法: 打开终端,把文件拖动到终端,即可以看到完整的路径: 二,第二种方法: 用快捷键复制路径: 打开窗口后同时按下:option+command+c 然后在可输入的软件中粘贴即可: 说明:刘宏缔的架构森林—专注it技术的博客,网站:https://blog.imgtouch.com原文: 阅读全文
posted @ 2023-11-16 09:14 刘宏缔的架构森林 阅读(36) 评论(0) 推荐(0) 编辑
摘要: 一,查看某个文件所属的deb包: root@lhdpc:/usr/local/source/Python-3.12.0# dpkg -S /usr/bin/python3 python3-minimal: /usr/bin/python3 二,查看dpkg的版本号 root@lhdpc:/usr/l 阅读全文
posted @ 2023-11-14 08:25 刘宏缔的架构森林 阅读(42) 评论(0) 推荐(0) 编辑
摘要: 一,查看各种开发语言的使用占比: https://www.tiobe.com/tiobe-index 如图: 2023年11月的统计: 二,查看浏览器和os的市场占比: https://gs.statcounter.com/ 如图: 说明:刘宏缔的架构森林—专注it技术的博客,网站:https:// 阅读全文
posted @ 2023-11-14 08:23 刘宏缔的架构森林 阅读(8) 评论(0) 推荐(0) 编辑
摘要: 一,ubuntu23.10默认未安装ssh 如下: liuhongdi@lhdpc:~$ service ssh status Unit ssh.service could not be found. 二,安装ssh 1,从命令行安装 root@lhdpc:~# apt-get install ss 阅读全文
posted @ 2023-11-14 08:19 刘宏缔的架构森林 阅读(560) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 83 下一页