Download Complete Python Interviews Discussions with Python Experts 1st Edition Mike Driscoll PDF for All Chapters
Download Complete Python Interviews Discussions with Python Experts 1st Edition Mike Driscoll PDF for All Chapters
com
https://ebookname.com/product/python-interviews-discussions-
with-python-experts-1st-edition-mike-driscoll/
OR CLICK BUTTON
DOWLOAD EBOOK
https://ebookname.com/product/bayesian-analysis-with-python-1st-
edition-martin/
ebookname.com
https://ebookname.com/product/machine-learning-with-python-1st-
edition-oliver-theobald/
ebookname.com
https://ebookname.com/product/starting-out-with-python-3rd-edition-
tony-gaddis/
ebookname.com
https://ebookname.com/product/web-caching-and-its-applications-1st-
edition-s-v-nagaraj/
ebookname.com
Paediatric Handbook Eighth Edition
https://ebookname.com/product/paediatric-handbook-eighth-edition/
ebookname.com
https://ebookname.com/product/the-development-of-international-human-
rights-law-volume-i-1st-edition-fionnuala-d-ni-aolain/
ebookname.com
https://ebookname.com/product/the-annals-the-reigns-of-tiberius-
claudius-and-nero-oxford-world-s-classics-1st-edition-cornelius-
tacitus/
ebookname.com
https://ebookname.com/product/the-divided-west-1st-edition-jurgen-
habermas/
ebookname.com
https://ebookname.com/product/m1-abrams-vs-t-72-ural-steven-j-zaloga/
ebookname.com
The Effective Teacher s Guide to Behavioural and Emotional
Disorders Disruptive Behaviour Disorders Anxiety Disorders
Depressive Disorders and Attention Deficit Hyperactivity
Disorder Second Edition Michael Farrell
https://ebookname.com/product/the-effective-teacher-s-guide-to-
behavioural-and-emotional-disorders-disruptive-behaviour-disorders-
anxiety-disorders-depressive-disorders-and-attention-deficit-
hyperactivity-disorder-second-edition-m/
ebookname.com
Python
Interviews
Mike Driscoll
BIRMINGHAM - MUMBAI
Python Interviews
Copyright © 2018 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval
system, or transmitted in any form or by any means, without the prior written
permission of the publisher, except in the case of brief quotations embedded
in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the
accuracy of the information presented. However, the information contained in
this book is sold without warranty, either express or implied. Neither the author,
nor Packt Publishing or its dealers and distributors, will be held liable for any
damages caused or alleged to have been caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all
of the companies and products mentioned in this book by the appropriate use
of capitals. However, Packt Publishing cannot guarantee the accuracy of this
information.
Acquisition Editor: Ben Renow-Clarke
Project Editor: Radhika Atitkar
Content Development Editors: Joanne Lovell
Technical Editor: Gaurav Gavas
Copy Editor: Joanne Lovell
Indexer: Tejal Daruwale Soni
Graphics: Tom Scaria
Production Coordinator: Arvindkumar Gupta
"Python" and the Python Logo are trademarks of the Python Software
Foundation.
mapt.io
Mapt is an online digital library that gives you full access to over
5,000 books and videos, as well as industry leading tools to help
you plan your personal development and advance your career. For
more information, please visit our website.
Why subscribe?
Spend less time learning and more time coding
with practical eBooks and Videos from over 4,000
industry professionals
Learn better with Skill Plans built especially for you
Get a free eBook or video every month
Mapt is fully searchable
Copy and paste, print, and bookmark content
PacktPub.com
Did you know that Packt offers eBook versions of every book
published, with PDF and ePub files available? You can upgrade
to the eBook version at www.PacktPub.com and as a print book
customer, you are entitled to a discount on the eBook copy. Get
in touch with us at [email protected] for more details.
At www.PacktPub.com , you can also read a collection of free
technical articles, sign up for a range of free newsletters, and
receive exclusive discounts and offers on Packt books and eBooks.
Foreword
Kenneth Reitz
Director at Large for the Python Software Foundation
Contributor
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 349
Page ii
Preface
Near the end of 2016, I was brainstorming with my editor about
the kinds of books might be of interest. I had been doing a series
of articles on my blog called PyDev of the Week that inspired us into
crafting a book based on interviewing core members of the Python
community. I spent some time hashing out 20 names of people that
I thought would be good for the book and then I started contacting
them in 2017.
In this book, you will get interesting anecdotes about the history of
Python and its creators, such as Brett Cannon and Nick Coghlan.
You will discover why Python didn't have Unicode support in its
first release, and you'll hear from core developers about where they
think Python is going in the future. You will also hear from some
well-known Python authors, like Al Sweigart, Luciano Ramalho, and
Doug Hellman.
I think you will find Alex Martelli and Steve Holden's interviews
to be especially compelling as they have been working with Python
for a very long time and have many interesting insights.
There is a lot to learn from all the individuals that I spoke with.
If you happen to know them, you know that even better than I
do. All of them were great to chat with and very responsive to me
even on the shortest of timelines. If you happen to meet them at
a conference, be sure to thank them for their contributions.
Special thanks go out to all the people I interviewed. They took time
out of their lives to help me with this project and I truly appreciate
it. I also want to thank my editors for keeping this project on
track. Finally, I would like to thank my wife, Evangeline, for putting
up with me interviewing people at random times throughout the
summer. And finally, I want to thank you, dear reader, for checking
out this book.
Page iv
1
Brett Cannon
Brett Cannon is a Canadian software
engineer and Python core developer.
He is a principal software developer at
Microsoft, where he works on editing
tools. Previous roles include software
engineer at Google and creator at
Oplop. Brett became a fellow of the
Python Software Foundation (PSF) in
2003 and served as a director of the
PSF between 2013 and 2014. He is a former PyCon US committee
member and was conference chair of PyData Seattle 2017. Brett
led the migration of CPython to GitHub and created importlib.
Among his open source achievements is caniusepython3 and he is the
co-author of 17 successful Python Enhancement Proposals.
In the year between junior high and high school, I took a computer
class over the summer and that included a little bit of Apple BASIC.
I did it and I excelled at it, to the point that I think I finished the
entire class in the first week. It hadn't really clicked that I could do
that for a job at that point.
This continued through high school, and then when it came time
to pick courses for junior college, my mom had me promise her
two things. I agreed that I would take a course in philosophy and
I would take a course in computer programming. So that's what I
did and I loved both.
Page 2
Brett Cannon
Page 3
Brett Cannon
It still ticked me off, though, that people had to input their locale
information. I was frustrated that I couldn't solve that. So in the
back of my mind, I was continuously thinking about how I could
get that locale information out. Eventually, I solved it. It was actually
the week after graduating from Berkeley, and I gifted myself the
time to write up the solution, so that you didn't have to enter locale
information anymore.
After I did that, I emailed Alex Martelli, since we'd exchanged emails
a couple of times at that point, and I said, "Hey, I've fixed this so
it's not necessary to input the locale anymore. How do I get this
upstream?" Alex Martelli said, "Oh, well you just email this mailing
list, Python-Dev, and you can submit the patch."
Page 4
Brett Cannon
So, I emailed the list and I think Skip Montanaro was the first
person to respond. Skip just said, "Yeah, that's great, just upload the
file and we'll work at it and accept it." I thought that was awesome.
I was able to contribute to this project and this language, which I
thought was really interesting.
One interesting side effect was that I got to know about any small
issues that nobody had time to take care of, so I saw anything that
cropped up before almost anybody else. I was able to very easily
pick up small issues to fix and learn, and I was able to continually
do that.
Page 5
Brett Cannon
https://wiki.python.org/moin/GetInvolved
That doesn't mean that you have to be a core developer to get into
the Python community. As long you enjoy it, you can get hooked
however it makes sense to you.
Driscoll: What then made you decide to start blogging and writing
about Python?
Driscoll: Was it important that you got into Python at just the right
time? Do you recommend getting in early on projects?
Page 6
Brett Cannon
I also got started when the Python project wasn't that big. I
remember when I started my master's degree, people would ask
what I did in my spare time. When I said I contributed to Python,
they'd reply, "Is that the language with the white space?" So I've
just been doing this for a long time.
Page 7
Brett Cannon
Jeremy Hilton had started that project, and Guido van Rossum
basically gave everyone an ultimatum, because the project had been
taking years to finish. So Guido said, "You have until the next
release to finish this."
I jumped in and helped Jeremy to carry it the last half of the way.
I did a similar thing with the warnings module. Neil Norbits had
started to implement it, but he kind of drifted off the project, so I
picked it up and finished it the rest of the way. That's how I ended
up being one of the people who knew the warnings module a
little too well!
Page 8
Brett Cannon
Cannon: Yeah, if you manage to read your own code from six
months ago and it still looks good, then there's probably something
wrong. It usually means you haven't learned something new yet.
Cannon: Probably just the friendships that I've made through being
one. A lot of the core developers are friends of mine.
Page 9
Brett Cannon
So yeah, it's honestly the friendships at this point. It's being able to
hang out and work with these people, learn from them and enjoy
what we do and keep doing that.
I don't think about the impact of Python very often. It's a little
mind-boggling sometimes to think about, so I try not to dwell on it.
I don't want any form of an ego because of it, so I try to actively
not think about it too much. If I do just sit here and think about
working on this language that's used by however many millions of
developers, then that's a bit of an eye-opener. It's kind of cool to
be able to say that I work on that, but primarily it's about getting
to work with friends.
I still remember very clearly when I first joined the team, and even
further back when I joined the mailing list, so although people say
I'm one of these big high-up leads on the Python developer team,
I've never fully acclimated to that idea. I just don't think of myself
that way. Guido famously was once asked at Google, "On a scale
of one to ten, how well do you know Python?" He said an eight.
Page 10
Brett Cannon
No one knows the entire system, because it's way too big a program
to know. We can all fit the basic semantics in our heads, but not
all the intricate details of how it actually works. How many people
know descriptors or meta classes like the back of their hand? I
have to look up that stuff on occasion, so nobody knows the
whole system.
The one place I know we're still second with Python is in data
science. I think our growth trends project that Python won't
immediately overtake R as a data science language in the next couple
of years at least. But long term, I do think that Python will catch
up. Otherwise, I just don't know very many other fields, that don't
require a systems language, where we aren't competitive for first
place with Python.
Page 11
Brett Cannon
Page 12
Brett Cannon
Page 13
Brett Cannon
Page 14
Random documents with unrelated
content Scribd suggests to you:
proud of his own unripened skill, and perhaps, from the experience
of San Christoval, undervaluing his adversary’s tactics; desirous also,
it was said, to gain a victory without the presence of a king;
Marmont, pushed on by fate, madly broke the chain which restrained
his enemy’s strength.
To understand the remarkable movements which were now
about to commence, it must be borne in mind that the French army,
while the harvest was on the ground, had no regard to lines of
communication; it had supports on all sides, and the troops were
taught to reap the standing corn, and grind it themselves if their
cavalry could not seize flour in the villages. This organization,
approaching the ancient Roman military perfection, baffled the
irregular, and threw the regular force of the allies entirely upon the
defensive; their flanks once turned a retreat must follow to save the
communications; but the French offered no point for retaliation.
Wherefore, with a force composed of four different nations,
Wellington was to make difficult evolutions in an open country, his
only chances of success being the casual errors of his adversary, an
able general, who knew the country perfectly and had troops well
disciplined, and of one nation. The game would have been quite
unequal if the English had not been so strong in cavalry.
In the course of the 15th and 16th Marmont, who had previously
made deceptive movements, concentrated his beautiful and gallant
army on its right towards Toro, which place, intercepted letters,
reports of deserters and the talk of the peasants, had for several
days assigned as his point of passage. On the morning of the 16th
English exploring officers, passing the Duero near Tordesillas, found
only the garrison there, and in the evening the reports stated, that
two French divisions had already crossed by the bridge of Toro;
wherefore Wellington united his centre and left at Canizal, on the
Guarena, during the night, intending to attack; but as he had still
some doubts of the real object, he left Sir Stapleton Cotton on the
Trabancos with the right wing, composed of the fourth and light
divisions and Anson’s cavalry. Suddenly Marmont recalled his troops,
returned to Tordesillas and Pollos, passed the Duero and
concentrated at Nava del Rey in the evening of the 17th, some of his
men having marched forty, some fifty miles without a halt.
Wellington was then near Toro, and Cotton remained behind the
Trabancos during the night without orders, in a bad position;
Wellington however hastened to his aid, bringing up Bock’s, Le
Marchant’s, and Alten’s cavalry, while the fifth division took post six
miles in rear of the Trabancos.
Our website is not just a platform for buying books, but a bridge
connecting readers to the timeless values of culture and wisdom. With
an elegant, user-friendly interface and an intelligent search system,
we are committed to providing a quick and convenient shopping
experience. Additionally, our special promotions and home delivery
services ensure that you save time and fully enjoy the joy of reading.
ebookname.com