02 2021 档案

摘要:1. 首先安装这个库 pip install azure-storage-blob 2. 使用SAS URL可以直接连上某个container,然后以文件名来下载。 from azure.storage.blob import ContainerClient sas_url = "SAS URL" 阅读全文
posted @ 2021-02-24 15:46 爱知菜 阅读(41) 评论(0) 推荐(0) 编辑
摘要:输入命令,生成秘钥sshkey,引号中为注释,这里为自己注册gitlab的邮箱。 使用TortoiseGit,如果每次clone/push/pull都出现totoisegitplink的密码输入框,就需改下面这个配置 从totoisegitplink.exe 改成 ssh.exe 修改Tortois 阅读全文
posted @ 2021-02-22 17:47 爱知菜 阅读(56) 评论(0) 推荐(0) 编辑
摘要:@contextlib.contextmanager def getdb(): conn = pymysql.connect("url://server", "username", "password", "dbname", charset='utf8') cursor = conn.cursor( 阅读全文
posted @ 2021-02-04 13:48 爱知菜 阅读(21) 评论(0) 推荐(0) 编辑
摘要:""" :param delays: An iterable object the defines num of seconds between reties, also indicating num of retries. Default: retry 3 times, waiting 1/5/3 阅读全文
posted @ 2021-02-01 18:43 爱知菜 阅读(39) 评论(0) 推荐(0) 编辑
摘要:for %i in (*.png) do rename "%i" prefix_"%i" 这个命令遍历所有png文件,为它们加上前缀 阅读全文
posted @ 2021-02-01 16:28 爱知菜 阅读(37) 评论(0) 推荐(0) 编辑

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