If you've ever spent hours renaming files or updating hundreds of spreadsheet cells, you know how tedious tasks like these can be. What if you could have your computer do that for you? In this second edition of Automate the Boring Stuff with Python, you'll learn the basics of programming in Python, the fastest growing programming language today, before moving on to create Python programs that effortlessly perform useful and impressive feats of automation to:
Search for text in a file or across multiple files
Create, update, move, and rename files and folders
Search the Web and download online content
Update and format data in Excel spreadsheets of any size
Split, merge, watermark, and encrypt PDFs
Send reminder emails and text notifications
Fill out online forms
This updated edition is full of step-by-step instructions that walk through each program. Practice projects at the end of each chapter challenge you to improve those programs and use your newfound skills to automate similar tasks.
Don't spend your time doing work a well-trained monkey could do. Even if you've never written a line of code, you can make your computer do the grunt work. Learn how in Automate the Boring Stuff with Python, 2nd Edition.
Al Sweigart is a professional software developer who teaches programming to kids and adults. Sweigart has written several bestselling programming books for beginners, including Automate the Boring Stuff with Python, Invent Your Own Computer Games with Python, Cracking Codes with Python, and Coding with Minecraft (all from No Starch Press).
>>>import openpyxl >>>wb = openpyxl.load_workbook('example.xlsx') >>>sheet = wb.get_active_sheet() >>>sheet.columns[1] 上面的示例为运行后,会产生如下报错: TypeError: 'generator' object is not subscriptable 用以下的方式访问即可 >>> list(sheet.columns)[0] (<...
评分这本书前6章是python的基础知识,通俗易懂地讲解基础,初学者容易犯错的地方,作者都会指出来。从第三章开始,每章都有一个实践项目,用来巩固前面所学的知识。 从第七章开始就是书名中的后半部:让繁琐工作自动化。每个章节都可独立出来。每看完一个章节,你都能将其中的知识...
评分这本书前6章是python的基础知识,通俗易懂地讲解基础,初学者容易犯错的地方,作者都会指出来。从第三章开始,每章都有一个实践项目,用来巩固前面所学的知识。 从第七章开始就是书名中的后半部:让繁琐工作自动化。每个章节都可独立出来。每看完一个章节,你都能将其中的知识...
评分复制我在京东的评价。顺便也是我的豆瓣首评。以下: 先声明,此评价与平台无关,只针对内容质量。这本书,怎么说呢,英文版没有看过,但是就我看的中文版来说…质量不是太高,大家可以慎重考虑一下。入门感觉还可以,但是从排版到翻译,简直是错漏百出。引用的代码有很多错误,...
评分这本书让我这种编程小白看到了Python无所不能的潜力。参考本书的示例,学着编写了人生第一个解决问题的程序——我用来批量删除PDF文件的广告页。从单文件操作到递归目录,从指定页码删除到图像识别,从经常崩溃到异常处理,过程中发现和解决了不少问题,从此学习劲头更足了。正...
基础,实用,全面
评分基础,实用,全面
评分基础,实用,全面
评分基础,实用,全面
评分前半本书是Python基础,后半本书介绍了几个Python库:openpyxl for excel, PyPDF2 for pdf editing, smtplib & imapclient for email, pyautogui for GUI automation.
本站所有内容均为互联网搜索引擎提供的公开搜索信息,本站不存储任何数据与内容,任何内容与数据均与本站无关,如有需要请联系相关搜索引擎包括但不限于百度,google,bing,sogou 等
© 2025 book.quotespace.org All Rights Reserved. 小美书屋 版权所有