上一页 1 2 3 4 5 6 7 8 ··· 11 下一页
摘要: 天啊,没想到python龟绘制的图居然这么美腻!代码传送门:import turtleimport randomfrom turtle import *from time import sleept = turt... 阅读全文
posted @ 2020-03-28 17:53 HelenLee01 阅读(308) 评论(0) 推荐(0) 编辑
摘要: 只想听音乐的高潮部分?!一行代码,一键提取音乐的高潮部分!from pychorus import find_and_output_choruschorus_strart_sec = find_and_outpu... 阅读全文
posted @ 2020-03-27 14:21 HelenLee01 阅读(348) 评论(0) 推荐(0) 编辑
摘要: 每次工作都需要打开一大推的软件。点击运行,再去泡杯咖啡,回来一看所有想要的软件都已经打开了,岂不美哉!用python自动打开指定软件,省时又省力!import osdef open_app(app_dir): ... 阅读全文
posted @ 2020-03-27 13:58 HelenLee01 阅读(1397) 评论(0) 推荐(0) 编辑
摘要: 提起excel第一印象就是办公,其实还可以用它来玩游戏!经典俄罗斯方块奉上!'By@yaxi_liu'本文作者看看游戏效果:全局代码传送门:'键盘事件代码,By@yaxi_liu#If VBA7 And Win6... 阅读全文
posted @ 2020-03-26 20:14 HelenLee01 阅读(1049) 评论(0) 推荐(1) 编辑
摘要: 用python,只需要别人打开Adobe Audition的时间,你已经完成了剪辑了。来不及解释,都在代码里了!from pydub import AudioSegmentsong = AudioSegment.... 阅读全文
posted @ 2020-03-23 17:06 HelenLee01 阅读(134) 评论(0) 推荐(0) 编辑
摘要: 用python,只需要别人打开Adobe Audition的时间,你已经完成了剪辑了。来不及解释,都在代码里了!from pydub import AudioSegment#打开一个音频文件song = Audi... 阅读全文
posted @ 2020-03-23 17:03 HelenLee01 阅读(353) 评论(0) 推荐(0) 编辑
摘要: 一键生成漂亮的节日快乐词云图,给女神一个特别的礼物~# Python 实用宝典# 2020/03/23先看效果图: 代码传送门:import numpyimport multidictimport matplot... 阅读全文
posted @ 2020-03-23 11:09 HelenLee01 阅读(146) 评论(0) 推荐(0) 编辑
摘要: python学习之循环语句,用一个小实验九九乘法表来进行学习吧。for j in range(1,10): for i in range(1,j+1): print("{}*{}={}\t".... 阅读全文
posted @ 2020-03-07 16:57 HelenLee01 阅读(143) 评论(0) 推荐(0) 编辑
摘要: python学习之条件语句,用一个小实验来进行学习吧!price = float(input("请输入金额:\n"))if(price >= 100): if(price >= 1000): ... 阅读全文
posted @ 2020-03-07 16:52 HelenLee01 阅读(694) 评论(0) 推荐(0) 编辑
摘要: 使用webdriver在网页输入关键词并截屏:# 导入selenium相关的工具from selenium import webdriver#通过浏览器加载网页driver = webdriver.Phantom... 阅读全文
posted @ 2020-03-07 11:56 HelenLee01 阅读(176) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 11 下一页