没有合适的资源?快使用搜索试试~ 我知道了~
首页Learn More Python The Hard Way PDF
Learn More Python The Hard Way PDF
需积分: 16 13 下载量 80 浏览量
更新于2023-05-19
收藏 581KB PDF 举报
来自LearnCodeTheHardWay系列的关于python的书籍(其二)
资源详情
资源推荐
![](https://csdnimg.cn/release/download_crawler_static/10977493/bg10.jpg)
16
Part 0
Initial Knowledge
![](https://csdnimg.cn/release/download_crawler_static/10977493/bg11.jpg)
![](https://csdnimg.cn/release/download_crawler_static/10977493/bg12.jpg)
18 LEARN MORE PYTHON THE HARD WAY
The very rst thing you need to learn is everything. I know that’s intimidating, but as I mentioned in
the introduction, you are going to only practice three skills for the entire book. Each exercise is going
to enforce each of the skills as you complete other tasks. I may tell you to ”make a copy of the cat
command”, but what you are really learning is how to be creative. I may tell you to ”create a linked
list data structure”, but what you’re really doing is applying structured code review processes to your
programming practice. The secret of this book is that you are only using the projects and exercises as a
vehicle to learn three important practices: Process, Creativity, and Quality.
Ideally there’s nothing magical about these three concepts. Process is simply the steps you use to create
something. Creativity is simply how you generate and implement ideas. Quality is simply how you make
sure those implementations aren’t junk. The meat is in the application. How do you apply a process to
your personal development skills? How do you analyze whether you’ve been building quality software
or not? How do you take an idea and turn it into reality? All three of these are interconnected as you
need a process to help you get creative and then a process for ensuring quality, which also requires being
creative since no process works all the time. It’s a vicious, beautiful cycle.
The process for completing this book is simply this:
1. I will give you a goal of working on Process, Creativity, or Quality for a part of the book. Usually it
will be two concepts at a time or maybe just one. For example, in Part 1 you are working on creativity
by hacking on simple tools in a 45 minute fast session. You are also analyzing your starting process
since, if you nd it difcult to start, you won’t be very creative.
2. The beginning of each exercise will give you a prompt or goal to think about while you work on
the exercise. Each of these prompts will ask you to focus on one or more aspects of what you’re
working on. Exercise 4 in Part 1 gives you the task of simply implementing something, and then in
Exercise 5 you start to list the things that blocked you and try to eliminate them or make them more
efcient. Other exercises ask you to look at your physical environment and x anything distracting.
Each time you’ll think about these prompts and then work on the exercise, attempting to focus on
that particular task.
3. At the end of each exercise there are Study Drills that give you more challenges to work on. They
may be related to the project or they might be more about the process, creativity, or quality issue
you’re dealing with in the exercise.
4. Some exercises are ”Challenge Mode”. That means you are given a description of a tool to im-
plement, usually based on an existing Unix tool, and then told to implement it but without any
code to look at. There may be small pieces of sample code you’ll need to study rst, but usu-
ally there is no Python in these challenges. The solutions are available online in a Git project at
http://bit.ly/lmpthwsolve on Github.
5. Other exercises will be educational descriptions of something you have to implement based on my
code. These exercises will explain something, such as an algorithm, and then you are to implement
![](https://csdnimg.cn/release/download_crawler_static/10977493/bg13.jpg)
19
them as exactly as possible and nd any bugs you can. Typically these exercises will focus on Quality
since you’ll be asked to write automated tests, track your error rates, and nd solutions to additional
problems in the Study Drills.
6. Finally, you’ll use a Lab Journal to take notes and keep track of metrics you can use to improve
how you work. I am very explicit about treating this as a journal, meaning a very private personal
account of your improvement that you should not share with anyone. Especially nobody who is
a manager at your company. This kind of information can be used to take advantage of you as a
worker, so guard it carefully.
Your goal when going through this book is not just to whip up a few copies of some Unix tools. Your goal
is to use these small Unix tool projects to focus on aspects of your ability to work on larger projects.
What If I Hate Your Stupid Personal Process Zed?
That’s completely alright. This book is meant to be something that helps you grow and improve, so if
you are not quite ready to analyze how you work then save that for later. You can simply do all of
the challenges in your own way and your own time, then come back and attempt the projects with the
constraints on your process. Every exercise stands on its own and the personal development portions apply
to almost anything you work on. Do what you can and come back when you need to work on how you
work.
What If I Find Out I’m Terrible?
That is a very real possibility, but my method works to help you know why you are terrible and what to
do in order to x it. Then it’s just a matter of working on it until you start getting better. Keep your
journal private, and nobody will know just how terrible you are. Then when you’re done you’ll know
exactly where you stand and what you need to work on. No more guessing at whether you’re a fraud or
can really do the job. You’ll objectively know your strengths and weaknesses so you can stop worrying
about where you stand in the world.
However, you probably are not as terrible as you think. This book is meant to be a private course in
improving your objective outlook on your skills. That means you should be focusing not on how good
you are at something, but how much you improve. If you nd yourself getting upset at your performance
on a particular exercise then you need to break it down and nd out what you can improve. You also
need to look at that one exercise in the context of all the others you’ve completed and objectively rate
![](https://csdnimg.cn/release/download_crawler_static/10977493/bg14.jpg)
20 LEARN MORE PYTHON THE HARD WAY
your improvement. Focusing on improvement helps you think objectively (not positive or negative) and
keep learning.
剩余229页未读,继续阅读
![azw3](https://img-home.csdnimg.cn/images/20210720083646.png)
![epub](https://img-home.csdnimg.cn/images/20210720083646.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![-](https://img-home.csdnimg.cn/images/20210720083327.png)
![-](https://img-home.csdnimg.cn/images/20210720083327.png)
![-](https://img-home.csdnimg.cn/images/20210720083327.png)
![-](https://img-home.csdnimg.cn/images/20210720083327.png)
![-](https://img-home.csdnimg.cn/images/20210720083327.png)
![-](https://csdnimg.cn/download_wenku/file_type_column_c1.png)
![-](https://csdnimg.cn/download_wenku/file_type_column_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_36326244
- 粉丝: 0
- 资源: 2
上传资源 快速赚钱
我的内容管理 收起
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助
![](https://csdnimg.cn/release/wenkucmsfe/public/img/voice.245cc511.png)
会员权益专享
最新资源
- 计算机系统基石:深度解析与优化秘籍
- 《ThinkingInJava》中文版:经典Java学习宝典
- 《世界是平的》新版:全球化进程加速与教育挑战
- 编程珠玑:程序员的基础与深度探索
- C# 语言规范4.0详解
- Java编程:兔子繁殖与素数、水仙花数问题探索
- Oracle内存结构详解:SGA与PGA
- Java编程中的经典算法解析
- Logback日志管理系统:从入门到精通
- Maven一站式构建与配置教程:从入门到私服搭建
- Linux TCP/IP网络编程基础与实践
- 《CLR via C# 第3版》- 中文译稿,深度探索.NET框架
- Oracle10gR2 RAC在RedHat上的安装指南
- 微信技术总监解密:从架构设计到敏捷开发
- 民用航空专业英汉对照词典:全面指导航空教学与工作
- Rexroth HVE & HVR 2nd Gen. Power Supply Units应用手册:DIAX04选择与安装指南
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
![](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)