笨方法学 Python3(2017版)

所需积分/C币:50 2019-02-12 13:26:33 2.53MB PDF

LEARN PYTHON3 THE HARD WAY-A Very Simple Introduction to the Terrifyingly Beautiful World of Computers and Code。 高清英文版的笨方法学Python3,2017年的版本,是一本不错的Python3入门书籍。
Contents Preface Improvements in the python 3 Edition The Hard Way Is easier XVIll Reading and Writing Attention to detail Spotting Differences Ask. Dont Stare XIX Do Not Copy-Paste XIX Using the included videos XIX A Note on practice and persistence Acknowledgments XX Exercise 0 The Setup 2 2 OS: What You should see Windows Windows What You should see 4 Linu Linux: What You should see 5 Finding Things on the Internet Warnings for Beginners 6 Alternative Text editors Exercise 1 A Good First Program What You should See 10 Study drills 12 Common Student Questions 12 Exercise 2 Comments and Pound characters .14 What You should see 14 study drills 14 Common Student Questions 15 Exercise 3 Numbers and math 16 What You should see 17 Study drills 17 Common Student Questions 17 CONTENTS Exercise 4 Variables and names What You should see 21 Study drills 21 Common Student Questions 21 Exercise 5 More Variables and Printing 24 What You should see 24 Study drills 25 Common Student Questions 25 Exercise 6 Strings and Text What You should see 27 Study drills 27 Break It 27 Common Student Questions 27 Exercise 7 More Printing What You should see 28 Study drill 29 Break It 29 Common Student Questions Exercise 8 Printing, Printing 30 What You should see 30 Study drill 31 Common Student Questions 31 Exercise 9 Printing, Printing, Printing 32 What You should See 32 Study drills 33 Common Student Questions 33 Exercise 10 What Was that? 34 What You should see 35 Escape Sequences 35 Study drills 36 Common Student Questions 36 Exercise 11 Asking Questions What You should See 38 Study drills Common Student Questions 39 CONTENTS Exercise 12 Prompting People 40 What You should see 40 Study drills 40 Common Student Questions Exercise 13 Parameters, Unpacking, Variables 42 Hold Up! Features Have Another Name 42 What You should see .43 Study drills 44 Common Student Questions 44 Exercise 14 Prompting and Passing 46 What You should See 46 Study drills 47 Common Student Questions Exercise 15 Reading Files 48 What You should See Study drills 49 Common Student Questions Exercise 16 Reading and Writing files What You should see Study drills Common Student Questions 54 Exercise 17 More files 56 What You should see Study drills Common Student Questions 57 Exercise 18 Names. Variables. Code Functions What You should see 61 Study drills Common Student Questions 62 Exercise 19 Functions and variables 64 What You should See 65 Study drills 65 Common Student Questions 65 Exercise 20 Functions and files .68 What You should see 69 vII CONTENTS Study drills 69 Common Student Questions 69 Exercise 21 Functions Can Return Something............... 72 What You should see Study drills Common Student Questions 74 Exercise 22 What do you know so far? What You Are Learning 76 Exercise 23 Strings, Bytes, and Character Encodings 78 Initial Research 78 Switches, Conventions, and encodings 80 Bisecting the Output 82 Bisecting the Code 82 Encodings Deep Dive 84 Breaking It 85 Exercise 24 More practice What You should See Study Drills .87 Common Student Questions 87 Exercise 25 Even more practice 90 What You should see 91 Study drill 92 Common Student Questions Exercise 26 Congratulations, take a Test Common Student Questions 94 Exercise 27 Memorizing logic The Truth terms The Truth tables 97 Common Student Questions Exercise 28 Boolean Practice 100 What You should see 102 Study drills 102 Common Student Questions 102 Exercise 29 What If 104 What You should see 104 CONTENTS Study drills 105 Common Student Questions 105 Exercise 30 Else and if 106 What You should See 107 Study drills Common Student Questions 107 Exercise 31 Making Decisions ..108 What You should see 109 Study drills 109 Common Student Questions 109 Exercise 32 L ind lists What You should see 113 Study drills Common Student Questions 114 Exercise 33 While Loops 116 What You should see 117 Study drills 117 Common Student Questions 118 Exercise 34 Accessing Elements of Lists ..120 Study Drills 121 Exercise 35 Branches and functions ..122 What You should see Study drills 124 Common Student Questions 124 Exercise 36 Designing and Debugging 126 Rules for if-statements 126 Rules for Loops 126 Tips for Debugging ork Exercise 37 Symbol Review 128 Kevwords 128 Data Types String Escape Sequences 130 Old Style String Formats 130 Operators 131 X CONTENTS Reading code 132 Study drills 133 Common Student Questions 133 Exercise 38 Doing Things to Lists 134 What You should see 135 What Lists can do 136 When to Use lists 137 Study drills 137 Common Student Questions 138 Exercise 39 Dictionaries, Oh Lovely Dictionaries 140 A Dictionary Example 141 What You should See 142 What Dictionaries can do 143 Study drills 144 Common Student Questions 144 Exercise 40 Modules, Classes, and objects 146 Modules are like dictionaries 146 Classes are Like modules 147 Objects Are Like Import 148 Getting Things from Things 149 A First Class Example 150 hat You should see 150 Study drills 150 Common Student Questions 151 Exercise 41 Learning to Speak Object-Oriented 152 Word drills 152 Phrase drills 152 Combined drills 153 A Reading Test .153 Practice English to Code 155 Reading More Code 156 Common Student Questions 156 Exercise 42 Is-A, Has-A, Objects, and Classes 158 How this looks in code .159 About class Name(object) 161 Study drills 161 Common Student Questions 161 CONTENTS Exercise 43 Basic object-Oriented Analysis and design .164 The Analysis of a Simple Game Engine 165 Write or draw about the problem 165 Extract Key Concepts and Research Them 166 Create a Class Hierarchy and object Map for the Concepts Code the classes and a test to run them 167 Repeat and Refine 169 Top Down versus Bottom Up 169 The Code for "Gothons from planet percal #25 170 What You should See 176 Study drills 176 Student Questions Exercise 44 Inheritance versus Composition ..178 What Is Inheritance? 178 179 Override Explicitly .180 Alter Before or after 180 All Three Combined The Reason for super () 183 sing super()with init 183 Composition 184 When to Use Inheritance or Composition 185 Study drills 185 Common Student Questions 186 Exercise 45 You make a game .188 Evaluating Your Game Function Style Class Style Code Style 190 Good Comments 190 Evaluate Your game Exercise 46 A Project Skeleton ..192 macoS/Linux Setup 192 Windows 10 Setup Creating the Skeleton Project Directory 195 Final Directory Structure 196 Testing Your Setup 197 Using the Skeleton 198 XII CONTENTS Required Quiz 198 Common Student Questions 198 Exercise 47 Automated Testing 200 Writing a test case 200 Testing Guidelines 202 What You should see 202 Study drills 2 Common Student Questions 203 Exercise 48 Advanced User Input 204 Our game Lexicon 204 Breaking Up a sentence Lexicon Tuples 205 Scanning Input Exceptions and Numbers 206 A Test First Challenge 206 What You should Test 207 Study drills 209 Common Student Questions e 49 Making sente 210 Match and peek 210 The sentence grammar A Word on Exceptions 211 The Parser code 211 Playing with the Parser 214 What You should Test 215 Study Drills 215 Common Student Questions 215 Exercise 50 Your first Website 216 Installing flask 216 Make a Simple"Hello World"Project 216 What's Going on? 218 Fixing Errors 218 Create Basic Templates 219 Study drills 221 Common Student Questions 221 Exercise 51 Getting Input from a Browser 224 How the Web Works 224

...展开详情

评论 下载该资源后可以进行评论 2

weixin_38744435 不错不错的,很高清很完整,谢谢分享了
2020-05-07
回复
紫夜疾邪 英文的,看不懂,不过谢谢了
2019-04-16
回复
img
RunaSophia

关注 私信 TA的资源

上传资源赚积分,得勋章
    最新推荐