driscoll m. - python 201 - 2016.pdf
(
35965 KB
)
Pobierz
Python 201
Intermediate Python
Michael Driscoll
This book is for sale at
http://leanpub.com/python201
This version was published on 2016-10-17
This is a
Leanpub
book. Leanpub empowers authors and publishers with the Lean Publishing
process.
Lean Publishing
is the act of publishing an in-progress ebook using lightweight tools and
many iterations to get reader feedback, pivot until you have the right book and build traction once
you do.
© 2016 Michael Driscoll
Tweet This Book!
Please help Michael Driscoll by spreading the word about this book on
Twitter!
The suggested hashtag for this book is
#python201.
Find out what other people are saying about the book by clicking on this link to search for this
hashtag on Twitter:
https://twitter.com/search?q=#python201
Also By
Michael Driscoll
Python 101
wxPython Cookbook
Contents
Introduction
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
About the Author
Conventions . . .
Requirements . .
Reader Feedback .
Errata . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
1
2
2
3
3
3
.
.
.
.
.
Part I - The Intermediate Modules
. . . . . . . . . . . . . . . . .
4
Chapter 1 - An Intro to Argument Parsing using
argparse
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Getting Started . . . . . . . . . .
Adding Arguments . . . . . . .
Short Options and Long Options
Options that Conflict . . . . . .
Wrapping Up . . . . . . . . . . .
.
.
.
.
.
.
.
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
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
10
. 10
. 12
. 13
. 17
. 19
. 20
. 22
.
23
. 23
. 24
. 25
. 26
Chapter 3 - Context Managers
Creating a Context Manager class . . . . . .
Creating a Context Manager using contextlib
contextlib.closing(thing) . . . . . . . . . . . .
contextlib.suppress(*exceptions) . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
Plik z chomika:
VIPER94
Inne pliki z tego folderu:
barry p. - head first python - 2011(1).pdf
(28876 KB)
bassi s. - python for bioinformatics - 2018(1).pdf
(7106 KB)
al-taie. z. m. - python for graph and network analysis - 2017(1).pdf
(12941 KB)
arbuckle d. - daniel arbuckle's mastering python - 2017(1).pdf
(8553 KB)
baba b. - python data structures and algorithms - 2017(1).pdf
(11331 KB)
Inne foldery tego chomika:
�� FIFA 14 FULL [PL - PC]
�� BATMAN ARKHAM ORIGINS [PL - PC]
- █▀ METRO LAST LIGHT REDUX [PC]
� BATTLEFIELD 4 [ PC-PL ]
�� CALL OF DUTY GHOSTS [ PC-PL ]
Zgłoś jeśli
naruszono regulamin