Learn Python the Hard Way: A Very Simple Introduction to the Terrifyingly Beautiful World of Computers and Code by Zed A. Shaw

Learn Python the Hard Way: A Very Simple Introduction to the Terrifyingly Beautiful World of Computers and Code

Zed A. Shaw
320 pages
Addison-Wesley Professional; 3 edition
Oct 2013
Paperback
Top Choices WSBN
3
Readers
1
Reviews
0
Discussions
0
Quotes
You Will Learn Python!   Zed Shaw has perfected the world's best system for learning Python. Follow it and you will succeed-just like the hundreds of thousands of beginners Zed has taught to date! You bring the discipline, commitment, and persistence; the author supplies everything else.   In Learn Python the Hard Way, Third Edition, you'll learn Python by working through 52 brilliantly crafted exercises. Read them. Type their code precisely. (No copying and pasting!) Fix your mistakes. Watch the programs run. As you do, you'll learn how software works; what good programs look like; how to read, write, and think about code; and how to find and fix your mistakes using tricks professional programmers use. Most importantly, you'll learn the following, which you need to start writing excellent Python software of your own: Installing a complete Python environment Organizing and writing code Basic mathematics Variables Strings and text Interacting with users Working with files Looping and logic Data structures using lists and dictionaries Program design Object-oriented programming Inheritance and composition Modules, classes, and objects Python packaging Debugging Automated testing Basic game development Basic web development It'll be hard at first.

No discussions yet. Join BookLovers to start a discussion about this book!

Finally, a book that matches my learning style.

Compared to most (if not all) programming books, the approach this book takes is unconventional and rewarding. The book starts off with the basics one would expect: strings, text, etc. The difference is, the author does not explain what any on the syntax really means. In fact he says more than once (to paraphrase): Don't worry if you don't understand any of this, just do the exercise (directly copy code from the book) and keep moving. After each exercise, there is a short study drill where you are typically told to make specific changes to the code. Shadows of explanations are sometimes contained in these drills. The end of each exercise is also followed by a QA of "Common Student Questions". Further, early on the author gives some interesting tips for examining the code you just wrote (and probably don't understand) that I had never thought of before and are quite enlightening. In exercise 5, the author explicitly states, "The problem with teaching you programming is that to understand many of my descriptions, you need to know how to do programming already. The way I solve this is I make you do something, and then I explain it later." I cannot agree with this method of teaching a programming language more. At least for my own learning style, it is ideal. As the book progresses, the logical order the exercises are layed out causing things to come together even before he get's into the detailed explanation. Once those detailed explanations are finally introduced, covered, and your are done with this book, you will be better off than with any other beginning book at which point you can comfortably move into more advanced material. A quick note on the authors writing style: he can be very sarcastic and sometimes sounds almost a bit pessimistic, but it is all with humorous undertones that make the book fun to read. I cannot recommend this book enough. After I submit this review, I am on my way to see if he has more books in "Hard Way" series. EDIT: Regarding complain...

No quotes shared yet. Join BookLovers to share your favorite quotes!