Python_Tricks-RealPython.pdf
(
1523 KB
)
Pobierz
Python Tricks: The Book
Dan Bader
For online information and ordering of this and other books by Dan
Bader, please visit
realpython.com.
For more information, please con-
tact Dan Bader at info@realpython.com.
Copyright © Dan Bader (realpython.com), 2016–2019
ISBN: 9781775093305 (paperback)
ISBN: 9781775093312 (electronic)
“Python” and the Python logos are trademarks or registered trade-
marks of the Python Software Foundation, used by Dan Bader with
permission from the Foundation.
Thank you for downloading this ebook. This ebook is licensed for your
personal enjoyment only. This ebook may not be re-sold or given away
to other people. If you would like to share this book with another per-
son, please purchase an additional copy for each recipient. If you’re
reading this book and did not purchase it, or it was not purchased
for your use only, then please return to
realpython.com/pytricks-book
and purchase your own copy. Thank you for respecting the hard work
behind this book.
Updated 2019-09-05 I would like to thank Michael Howitz,
Johnathan Willitts, Julian Orbach, Johnny Giorgis, Bob White,
Daniel Meyer, Michael Stueben, Smital Desai, Andreas Kreisig,
David Perkins, Jay Prakash Singh, Ben Felder, Steve Schmerler,
Malcolm Telfer, and Boxiang Sun for their excellent feedback.
Cover design by Anja Pircher Design (anjapircher.com)
What Pythonistas Say About
Python Tricks: The Book
“I love, love, love the book. It’s like having a seasoned tutor explain-
ing, well, tricks! I’m learning Python on the job and I’m coming from
Powershell, which I learned on the job—so lots of new, great stu .
Whenever I get stuck in Python (usually with Flask blueprints or I feel
like my code could be more Pythonic) I post questions in our internal
Python chat room.
I’m often amazed at some of the answers co-workers give me. Dict
comprehensions, lambdas, and generators often pepper their feed-
back. I am always impressed and yet abbergasted at how powerful
Python is when you know these tricks and can implement them
correctly.
—
Daniel Meyer
, Sr. Desktop Administrator at Tesla Inc.
As someone who doesn’t have my degree in CS it’s nice to have the text
to explain things that others might have learned when they were clas-
sically educated. I am really enjoying the book and am subscribed to
the emails as well, which is how I found out about the book.”
Your book was exactly what I wanted to help get me from a bewildered
Powershell scripter to someone who knows how and when to use these
Pythonic ‘tricks’ everyone has been talking about.
“I rst heard about your book from a co-worker who wanted to
trick me with your example of how dictionaries are built. I was
almost 100% sure about the reason why the end product was a much
smaller/simpler dictionary but I must confess that I did not expect
the outcome :)
He then sprung a di erent question on the same principle, and because
of the way you explained things in your book, I was able to not simply
guess the result but to correctly answer what the outcome would be.
That means that you did a great job at explaining things :)
That same afternoon I purchased my own copy and proceeded to read
your explanation for the way dictionaries are created in Python and
later that day, as I met a di erent co-worker for co ee, I used the same
trick on him :)
He showed me the book via video conferencing and I sort of skimmed
through it as he ipped the pages for me, and I was immediately curi-
ous to read more.
—
Og Maciel
, Python Developer at Red Hat
I am not new in Python and some of the concepts in some of the chap-
ters are not new to me, but I must say that I do get something out of
every chapter so far, so kudos for writing a very nice book and for
doing a fantastic job at explaining concepts behind the tricks! I will
certainly let my friends and co-workers know about your book.”
Plik z chomika:
Leniek
Inne pliki z tego folderu:
effective-pycharm.pdf
(35078 KB)
illustrated_guide_to_python3.pdf
(3306 KB)
learning_the_pandas_library.pdf
(4553 KB)
python-basics-early-access-2019-09.pdf
(3633 KB)
Managing_Python_Dependencies__Learning_Progress_Workbook.pdf
(73 KB)
Inne foldery tego chomika:
audio
epub
mobi
Zgłoś jeśli
naruszono regulamin