随笔分类 -  Python module

摘要:![](https://img2022.cnblogs.com/blog/2844020/202205/2844020-20220504094949145-1008802941.jpg) ![](https://img2022.cnblogs.com/blog/2844020/202205/2844020-20220504094958250-1999194141.jpg) ![](https:// 阅读全文
posted @ 2022-05-04 09:52 yy9knsg 阅读(7) 评论(0) 推荐(0) 编辑
摘要:import os d1 = '/home/yy/test1' #源地址 d2 = '/home/yy/test2' #目的地址 不能存在 os.symlink(d1, d2) 阅读全文
posted @ 2022-04-17 12:58 yy9knsg 阅读(67) 评论(0) 推荐(0) 编辑
摘要:需要通过pip install requests进行安装 import requests url = 'http://192.168.1.203/dev/live_ver' r = requests.get(url) print('1', r) print('2', r.text) [yy@192 阅读全文
posted @ 2022-04-16 23:08 yy9knsg 阅读(40) 评论(0) 推荐(0) 编辑
摘要:需要通过pip install wget进行安装 import wget url = 'http://192.168.1.203/dev/live_ver' dest_dir = '/home/yy/test' wget.download(url, dest_dir) 阅读全文
posted @ 2022-04-16 23:06 yy9knsg 阅读(72) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示