automate-the-boring-stuff-with-python-2015-

Telechargé par driss chahm
PRACTICAL PROGRAMMING
FOR TOTAL BEGINNERS
AL SWEIGART
AUTOMATE
THE BORING STUFF
WITH PYTHON
AUTOMATE
THE BORING STUFF
WITH PYTHON
SHELVE IN:
PROGRAMMING LANGUAGES/
PYTHON
$29.95 ($34.95 CDN)
www.nostarch.com
THE F INE ST IN GEEK ENTERTA I N M E N T
If you’ve ever spent hours renaming files or updating
hundreds of spreadsheet cells, you know how tedious
tasks like these can be. But what if you could have
your computer do them for you?
minutes what would take you hours to do by hand
learn how to use Python to write programs that do in
In Automate the Boring Stuff with Python, you’ll
no prior programming experience required. Once
create Python programs that effortlessly perform
useful and impressive feats of automation to:
I LI E FLA T.”
This book uses a durable binding that won’t snap shut.
you’ve mastered the basics of programming, you’ll
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
Dont spend your time doing work a well-trained
monkey could do. Even if you’ve never written a line
Send reminder emails and text notifications
Fill out online forms
Step-by-step instructions walk you through each
program, and practice projects at the end of each
chapter challenge you to improve those programs and
use your newfound skills to automate similar tasks.
Split, merge, watermark, and encrypt PDFs
GET STUFF DONE.
LEARN PYTHON.
GET STUFF DONE.
LEARN PYTHON.
COVERS PYTHON 3
of code, you can make your computer do the grunt work.
Learn how in Automate the Boring Stuff with Python.
Python books for beginners, including Hacking Secret
A B O U T T H E A U T H O R
Al Sweigart is a software developer and teaches pro-
gramming to kids and adults. He has written several
Ciphers with Python, Invent Your Own Computer Games
with Python, and Making Games with Python & Pygame.
AUTOMATE THE BORING
STUFF WITH PYTHON
AUTOMATE THE BORING
STUFF WITH PYTHON SWEIGART
SFI-00000
AUTOMATE THE BORING STUFF
WITH PYTHON
AUTOMATE THE
BORING STUFF
WITH PYTHON
Practical Programming
for Total Beginners
by Al Sweigart
San Francisco
AutomAte the Boring Stuff with Python. Copyright © 2015 by Al Sweigart.
All rights reserved. No part of this work may be reproduced or transmitted in any form or by any means,
electronic or mechanical, including photocopying, recording, or by any information storage or retrieval
system, without the prior written permission of the copyright owner and the publisher.
Printed in USA
Second printing
19 18 17 16 15 2 3 4 5 6 7 8 9
ISBN-10: 1-59327-599-4
ISBN-13: 978-1-59327-599-0
Publisher: William Pollock
Production Editor: Laurel Chun
Cover Illustration: Josh Ellingson
Interior Design: Octopod Studios
Developmental Editors: Jennifer Griffith-Delgado, Greg Poulos, and Leslie Shen
Technical Reviewer: Ari Lacenski
Copyeditor: Kim Wimpsett
Compositor: Susan Glinert Stevens
Proofreader: Lisa Devoto Farrell
Indexer: BIM Indexing and Proofreading Services
For information on distribution, translations, or bulk sales,
please contact No Starch Press, Inc. directly:
No Starch Press, Inc.
245 8th Street, San Francisco, CA 94103
phone: 415.863.9900; [email protected]
www.nostarch.com
Library of Congress Control Number: 2014953114
No Starch Press and the No Starch Press logo are registered trademarks of No Starch Press, Inc. Other
product and company names mentioned herein may be the trademarks of their respective owners. Rather
than use a trademark symbol with every occurrence of a trademarked name, we are using the names only
in an editorial fashion and to the benefit of the trademark owner, with no intention of infringement of the
trademark.
The information in this book is distributed on an “As Is” basis, without warranty. While every precaution
has been taken in the preparation of this work, neither the author nor No Starch Press, Inc. shall have any
liability to any person or entity with respect to any loss or damage caused or alleged to be caused directly or
indirectly by the information contained in it.
This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 United
States License. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/3.0/us/
or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA.
SFI-00000
For my nephew Jack
1 / 505 100%

automate-the-boring-stuff-with-python-2015-

Telechargé par driss chahm
La catégorie de ce document est-elle correcte?
Merci pour votre participation!

Faire une suggestion

Avez-vous trouvé des erreurs dans linterface ou les textes ? Ou savez-vous comment améliorer linterface utilisateur de StudyLib ? Nhésitez pas à envoyer vos suggestions. Cest très important pour nous !