随笔分类 -  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 阅读(15) 评论(0) 推荐(0)
摘要:import os d1 = '/home/yy/test1' #源地址 d2 = '/home/yy/test2' #目的地址 不能存在 os.symlink(d1, d2) 阅读全文
posted @ 2022-04-17 12:58 yy9knsg 阅读(73) 评论(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 阅读(54) 评论(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 阅读(80) 评论(0) 推荐(0)