![](https://img-blog.csdnimg.cn/2019091813595558.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
Python
Python
sun0322
NULL
展开
-
使用Python,为图片添加水印
■安装包pip install filestools --index-url=https://mirrors.aliyun.com/pypi/simple -U■代码# 图片水印from watermarker.marker import add_markadd_mark(file=r"C:\test\python\水印\in\jjj.png", out=r"C:\test\python\水印\out", mark="日语学习", opacity=0.2, angle=30, ...原创 2021-08-06 23:06:29 · 1228 阅读 · 0 评论 -
Python获取照片信息
・代码【高度】,是计算前的值【经纬度】,是计算前的值import exifreadimport re def read(): GPS = {} date = '' f = open("C:\\test\\python\\picturePath\\a.jpg",'rb') contents = exifread.process_file(f) for key in contents: if key == "GPS GPSLong原创 2021-07-15 22:50:44 · 864 阅读 · 0 评论 -
使用Python破解zip的密码
---#!/usr/bin/python# encoding: utf-8import zipfile class unlockZip: def __init__(self): pass def getPassword(self): file = zipfile.ZipFile('Excel学习.zip') print('破解中。。。') for pwd in range(2040, 2050):...原创 2021-05-27 23:08:52 · 728 阅读 · 0 评论 -
使用Python,提取视频文件中的音频
■前言一些好的视频,我们只需要其中的声音就够了。(抖音上的一首,五十音图的儿歌)■Step1安装Pythonhttps://blog.csdn.net/sxzlc/article/details/106108358■Step2:下载工具包pip install moviepy -i http://pypi.douban.com/simple --trusted-host pypi.douban.com■Step3:代码实现C:\test\python\...原创 2021-05-09 21:27:08 · 899 阅读 · 1 评论 -
Python 语言 Hello world
■英文含义Python[ˈpaɪθən]蟒蛇■简介可以画图,爬取网页,处理数据等等。。。■下载安装地址https://www.python.org/https://www.python.org/downloads/release/python-382/https://blog.csdn.net/yisumi/article/details/84105602(python官网下载windows版本时各文件的区别:web-based installer、ex...原创 2020-05-13 22:50:19 · 436 阅读 · 0 评论