没有合适的资源?快使用搜索试试~ 我知道了~
首页python tricks
资源详情
资源推荐
![](https://csdnimg.cn/release/download_crawler_static/10128426/bg1.jpg)
![](https://csdnimg.cn/release/download_crawler_static/10128426/bg2.jpg)
Python Tricks: The Book
Dan Bader
![](https://csdnimg.cn/release/download_crawler_static/10128426/bg3.jpg)
For online information and ordering of this and other books by Dan
Bader, please visit
dbader.org. For more information, please contact
Dan Bader at mail@dbader.org.
Copyright © Dan Bader (
dbader.org), 2016–2017
ISBN: 9781775093305 (paperback)
ISBN: 9781775093312 (electronic)
Cover design by Anja Pircher Design (
anjapircher.com)
“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
dbader.org/pytricks-book and
purchase your own copy. Thank you for respecting the hard work be-
hind this book.
Updated 2017-10-27 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, and Ben Felder for their excellent feedback.
![](https://csdnimg.cn/release/download_crawler_static/10128426/bg4.jpg)
What Pythonistas Say About Python Tricks: The Book
”I love love love the book. It’s like having a seasoned tutor explaining,
well, tricks! I’m learning Python on the job and I’m coming from pow-
ershell, which I learned on the job—so lots of new, great stuff. When-
ever 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 coworkers give me. Dict com-
prehensions, lambdas, and generators often pepper their feedback. I
am always impressed and yet flabbergasted at how powerful Python
is when you know these tricks and can implement them correctly.
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.
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.”
— Daniel Meyer, Sr. Desktop Administrator at Tesla Inc.
![](https://csdnimg.cn/release/download_crawler_static/10128426/bg5.jpg)
”I first 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 showed me the book via video conferencing and I sort of skimmed
through it as he flipped the pages for me, and I was immediately curi-
ous to read more.
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 different co-worker for coffee, I used the same
trick on him :)
He then sprung a different question on the same principle, and be-
cause of the way you explained things in your book, I was able tonot*
guess the result but correctly answer what the outcome would be. That
means that you did a great job at explaining things :)*
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 do-
ing a fantastic job at explaining concepts behind the tricks! I’m very
much looking forward to the updates and I will certainly let my friends
and co-workers know about your book.”
— Og Maciel, Python Developer at Red Hat
剩余298页未读,继续阅读
![mobi](https://img-home.csdnimg.cn/images/20210720083646.png)
![epub](https://img-home.csdnimg.cn/images/20210720083646.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://profile-avatar.csdnimg.cn/default.jpg!1)
qq_18282971
- 粉丝: 1
- 资源: 3
上传资源 快速赚钱
我的内容管理 收起
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助
![](https://csdnimg.cn/release/wenkucmsfe/public/img/voice.245cc511.png)
会员权益专享
最新资源
- 京瓷TASKalfa系列维修手册:安全与操作指南
- 小波变换在视频压缩中的应用
- Microsoft OfficeXP详解:WordXP、ExcelXP和PowerPointXP
- 雀巢在线媒介投放策划:门户网站与广告效果分析
- 用友NC-V56供应链功能升级详解(84页)
- 计算机病毒与防御策略探索
- 企业网NAT技术实践:2022年部署互联网出口策略
- 软件测试面试必备:概念、原则与常见问题解析
- 2022年Windows IIS服务器内外网配置详解与Serv-U FTP服务器安装
- 中国联通:企业级ICT转型与创新实践
- C#图形图像编程深入解析:GDI+与多媒体应用
- Xilinx AXI Interconnect v2.1用户指南
- DIY编程电缆全攻略:接口类型与自制指南
- 电脑维护与硬盘数据恢复指南
- 计算机网络技术专业剖析:人才培养与改革
- 量化多因子指数增强策略:微观视角的实证分析
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
![](https://img-home.csdnimg.cn/images/20220527035711.png)
![](https://img-home.csdnimg.cn/images/20220527035711.png)
![](https://img-home.csdnimg.cn/images/20220527035111.png)
安全验证
文档复制为VIP权益,开通VIP直接复制
![](https://csdnimg.cn/release/wenkucmsfe/public/img/green-success.6a4acb44.png)