<div class="image-package"><img src="https://upload-images.jianshu.io/upload_images/11727010-47fd771592180aa3.jpeg" img-data="{"format":"jpeg","size":27132,"width":900,"height":383,"space":"srgb","channels":3,"depth":"uchar","density":72,"chromaSubsampling":"4:2:0","isProgressive":false,"hasProfile":false,"hasAlpha":false}" class="uploaded-img" style="min-height:200px;min-width:200px;" width="auto" height="auto"/>
</div><p style="text-indent:0px">大家好,这里是程序员晚枫,全网同名。</p><p style="text-indent:0px">在小破站账号:Python自动化办公社区,更新Python教程4年多了。</p><blockquote><p>我在和读者的沟通中,发现很多非程序员的朋友学习Python,不是为了成为Python大师,而只是为了提高自己的办公能力。</p></blockquote><p style="text-indent:0px">今天在给大家分享一波Python操作Office的代码,涉及的软件很多:Excel、Word、PPT、PDF...赶紧学起来!(每个库在小破站都有对应的免费视频哟~)</p><h3><span>1、操作Excel:创建Excel</span><span/></h3><div class="image-package"><img src="https://upload-images.jianshu.io/upload_images/11727010-933d4c258e764b87.jpeg" contenteditable="false" img-data="{"format":"jpeg","size":29740,"width":664,"height":499,"space":"srgb","channels":3,"depth":"uchar","density":72,"chromaSubsampling":"4:2:0","isProgressive":false,"hasProfile":false,"hasAlpha":false}" class="uploaded-img" style="min-height:200px;min-width:200px;" width="auto" height="auto"/>
</div><h3><span>2、操作Word:word转pdf</span><span/></h3><div class="image-package"><img src="https://upload-images.jianshu.io/upload_images/11727010-735b94f196c39e00.jpeg" contenteditable="false" img-data="{"format":"jpeg","size":24634,"width":663,"height":409,"space":"srgb","channels":3,"depth":"uchar","density":72,"chromaSubsampling":"4:2:0","isProgressive":false,"hasProfile":false,"hasAlpha":false}" class="uploaded-img" style="min-height:200px;min-width:200px;" width="auto" height="auto"/>
</div><h3><span>3、操作PDF:pdf转word</span><span/></h3><div class="image-package"><img src="https://upload-images.jianshu.io/upload_images/11727010-eeffa4de4c27575b.jpeg" contenteditable="false" img-data="{"format":"jpeg","size":26263,"width":674,"height":435,"space":"srgb","channels":3,"depth":"uchar","density":72,"chromaSubsampling":"4:2:0","isProgressive":false,"hasProfile":false,"hasAlpha":false}" class="uploaded-img" style="min-height:200px;min-width:200px;" width="auto" height="auto"/>
</div>
<h3><span>4、操作PPT:ppt转图片</span><span/></h3><div class="image-package"><img src="https://upload-images.jianshu.io/upload_images/11727010-24b33e9bc58b8770.jpeg" contenteditable="false" img-data="{"format":"jpeg","size":27279,"width":677,"height":442,"space":"srgb","channels":3,"depth":"uchar","density":72,"chromaSubsampling":"4:2:0","isProgressive":false,"hasProfile":false,"hasAlpha":false}" class="uploaded-img" style="min-height:200px;min-width:200px;" width="auto" height="auto"/>
</div>
<h3><span>5、操作文件:创建文件夹</span><span/></h3><div class="image-package"><img src="https://upload-images.jianshu.io/upload_images/11727010-a658360a9a468664.jpeg" contenteditable="false" img-data="{"format":"jpeg","size":24650,"width":668,"height":392,"space":"srgb","channels":3,"depth":"uchar","density":72,"chromaSubsampling":"4:2:0","isProgressive":false,"hasProfile":false,"hasAlpha":false}" class="uploaded-img" style="min-height:200px;min-width:200px;" width="auto" height="auto"/>
</div>
<h3><span>6、操作图片:图片加水印</span><span/></h3><div class="image-package"><img src="https://upload-images.jianshu.io/upload_images/11727010-beb301dcd01cf189.jpeg" contenteditable="false" img-data="{"format":"jpeg","size":31575,"width":668,"height":459,"space":"srgb","channels":3,"depth":"uchar","density":72,"chromaSubsampling":"4:2:0","isProgressive":false,"hasProfile":false,"hasAlpha":false}" class="uploaded-img" style="min-height:200px;min-width:200px;" width="auto" height="auto"/>
</div><p style="text-indent:0px"><span>大家学习 或 使用代码过程中,有任何问题,都可以在评论区交流哟~👇</span><span/></p>
Python终于可以操作Office了
©著作权归作者所有,转载或内容合作请联系作者
- 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
- 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
- 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...
推荐阅读更多精彩内容
- #全民AI创作节# 来百度APP畅享高清图片 大家好,这里是程序员晚枫。 Python是我工作中的主...
- 无论在工作,还是在生活当中,主要用到计算机,无可避免的就要与office打交道,而其中Word、Excel、PPT...
- 1:仿知网 https://www.cn-ki.net/ 仿知网是一个完全可以代替知网的精品网站;是一个非常强大的...
- 分享15个鲜为人知的的小众网站,每一个可以让你打开新世界的大门,让你震惊。 1:仿知网 https://www.c...
- 知乎上有人提问:用python进行办公自动化都需要学习什么知识呢? 这可能是很多非IT职场人士面临的困惑,想把py...