Zed Shawis an avid guitar player, programmer, and writer whose books teach people all over the world how to write software. His bookLearn Python the Hard Wayhas been read by millions of people around the world. His software has been used by many large and small companies. His essays are often quoted and read by members of many geek communities. He is an entertaining and lively writer, who is sure to keep you laughing and make you think.
Preface 1
Acknowledgments 1
The Hard Way Is Easier 2
Reading and Writing 2
Attention to Detail 2
Spotting Differences 3
Do Not Copy-Paste 3
Using the Included Videos 3
A Note on Practice and Persistence 3
A Warning for the Smarties 4
Exercise 0:The Setup 6
Mac OS X 6
Windows 7
Linux 8
Finding Things on the Internet 10
Warnings for Beginners 10
Exercise 1:A Good First Program 12
What You Should See 14
Study Drills 16
Common Student Questions 17
Exercise 2:Comments and Pound Characters 18
What You Should See 18
Study Drills 18
Common Student Questions 19
Exercise 3:Numbers and Math 20