I started this tutorial in response to a request from two friends, both of whom were proficient computer users but wanted to go a step further and learn to program. As both had Internet access, I decided to save myself some trouble and find an online tutorial that they could use. Much to my amazement, this quest came up emptyit proved very difficult to find a tutorial that addressed the needs of an absolute beginner. Many tutorials taught specific programming languages, but they all assumed prior programming knowledge. This exercise provided sufficient motivation for me to create my own online tutorial for beginners.
I had assumed that 10 to 20 pages would suffice, but the project grew and grew. Soon I had more than 50 pages of printout and was getting increasing numbers of visitors to my Web site, many of whom asked questions or required clarification of points. Responding to their requests, in turn, improved the quality and expanded the volume still further. Several readers suggested that the tutorial would make a useful book, and this text is the result. My Background
I am a professional programmer who came to programming from an electronic engineering background. I've been involved with computers and the information technology industry since the mid-1970s, working on everything from embedded microcontrollers to mainframe billing systems. In that time I have used (and continue to use) several computer languages and operating systems. A Word about Languages
For commercial reasons I have tried to use American English spellings and terminology throughout the book. This choice has led to some interesting discoveries about the differences between how American English and the rest of the English-speaking world do things. For those non-Americans who get irritated at the inexorable pollution of the Queen's English, I proffer my apologies and sympathy, but I hope you buy the book anyway! To U.S. readers, I hope that any remaining Anglicisms are not too offensive or confusing. Please consider them a quaint relic from the past. Acknowledgments
As ever, this book's existence owes a lot to many people. In particular, I'd like to thank Ray and John, who started the ball rolling, as well as all the folks who visited and commented on the original online tutorial. Also meriting a mention are Matthew Curtin and Herb Sutter, both of whom urged me to "go for it," and Jeff, my boss at work, whose support further encouraged me. Next must come Mike Hendrickson and Heather Peterson, my editors at Addison-Wesley, who were never less than enthusiastic about the project. Finally, I'd like to thank Matt, Dave, Brian, Moira, and Perdita, who have been press-ganged into reviewing various drafts or had ideas bounced off them. I'd also like to thank the many technical reviewers whose comments have helped shape the direction of the book. They all spotted many mistakes; any that remain behind are solely mine. Finally, thanks to my wife, Heather, who patiently whiled away the many hours alone as I gazed haplessly at the PC.
0201709384P04062001
Are you a...
Then Learn to Program Using Python is the book for you.
You will find this book to be an ideal starting point for learning the essentials of computer programming. Assuming no prior knowledge (other than basic computer operation), this unintimidating and clearly written guide introduces you to programming terminology, fundamental concepts, and techniques for writing actual code.
Python is ideal for novice programmers: it is available for free; it has simple syntax but powerful features; it supports lots of programming styles; it runs on many platforms; it has a friendly and helpful user community. This book uses the Python language to teach you the fundamentals of computer programming. Once you master the basic techniques and concepts you learn in this book, you can apply them to any language you choose to work with.
Learn to Program Using Python is based on a popular on-line tutorial that has been expanded and enhanced for this book. It takes you step-by-step through all the essential programming topics. You will learn about:
In addition, the book introduces elements of programming style and offers a look at the thinking and steps involved in designing a software solution. Several sample applications illustrate techniques and ideas in action.
Product Details
Would you like to update product info or give feedback on images?
|
|
Share your thoughts with other customers:
|
||||||||||||||||||||||
|
Most Helpful Customer Reviews
25 of 26 people found the following review helpful:
4.0 out of 5 stars
Very good introduction to programming,
By
This review is from: Learn to Program Using Python: A Tutorial for Hobbyists, Self-Starters, and All Who Want to Learn the Art of Computer Programming (Paperback)
Most books that aim to teach a programming language assume some knowledge of programming in general. The target for this book is someone with no programming experience at all. Python is simply used as an example language. Python is a good language for such a person, given its clean sytax and underlying simplicity. I've had a little programming experience, and found the book very easy to read. Some of the explanations may be a bit terse for the complete novice. This is probably the books weakest point.Gauld makes it very clear that the book isn't designed to make the reader a Python expert, it is simply to get him or her up to speed on general programming ideas (e.g, loops, conditional statements, etc.), so that the reader can then move on to other books or tutorials (such as the Python tutorial on the included CD). Overall, I think Gauld succeeds in his goal. There are other online resources with similar aims (the "How to think like a computer scientist" site comes to mind). But for those without constant internet access, this book is a great place to start. The complete novice would then be able to tackle something more substantial, such as /The Quick Python Book/ and/or /Learning Python/, or a book on another language (personally, I'd recommend they stick to Python for a while).
21 of 23 people found the following review helpful:
4.0 out of 5 stars
almost complete, but could use a few touchups,
By "hthb" (Denver, CO United States) - See all my reviews
This review is from: Learn to Program Using Python: A Tutorial for Hobbyists, Self-Starters, and All Who Want to Learn the Art of Computer Programming (Paperback)
Not a bad introduction to the basic concepts, and certainly better than most of the "teach yourself", "learn foo in 15 minutes", "foobar for dummies", or the idiot guides. This book does not attempt to teach serious Python, instead focusing on the practice of program development with python as an example language. There are lots of "see the python documentation" type references to explain newly presented material. The basics of python are presented clearly, although a true novice will probably get lost and require some more clarification- that's ok since it teaches how to learn more about the language. Don't worry, the CDROM contains tutorials and there's lots more available online. Each chapter is presented in pseudo-textbook style, complete with sometimes silly "things to ponder" (e.g. "It's often said that laziness is a good quality in a programmer- can you think why that might be true?"). For the next edition a series of exercises and programming assignments would be useful, complete with answer keys on the CDROM.The book can certainly include more about how programmers solve problems and create useful tools. Introducing a collection of "tricks of the trade" would help here (e.g. the 'x = TRUE', 'while not TRUE' conditional statements used so ubiquitously aren't even mentioned). A chapter dedicated to simple algorithms would be nice as well (e.g. a sorting routine), and would make writing useful programs much easier for beginners. The large type and wide margins could be pared down a bit to include all of this without making a doorstop-like tome (a la wrox/"teach yourself" books). With that said, there are some very good points in this book that make it a good choice. The book accomplishes its goal of "learn to program" using small, easily digested chapters that are quick reads. There are lots of examples and most importantly, examples of larger programs that are actually fun to write and modify (like the hangman prog.) One of the most helpful chapters for me was the chapter "Designing a solution", aimed at getting a larger project going. Additionally, the book presents essential (but often overlooked) chapters on debugging and programming style. As it stands, the book provides a solid foundation for the more comprehensive books (e.g. Kernighan and Ritchie's "the C programming language"). With a few touchups this book could become an essential introduction to programming.
10 of 10 people found the following review helpful:
5.0 out of 5 stars
Excellent intro to programming and Python,
By Randy Young (Charleston, IL USA) - See all my reviews
This review is from: Learn to Program Using Python: A Tutorial for Hobbyists, Self-Starters, and All Who Want to Learn the Art of Computer Programming (Paperback)
I've taught beginning programming at the Junior College level, and not a one of the texts I selected, were as lucid and well written as this one. Especially strong in the introduction of Object programming, the author excels at terse yet appropriate code examples. I'm recommending this book to everyone I know.
Share your thoughts with other customers: Create your own review
|
|
Tags Customers Associate with This Product(What's this?)Click on a tag to find related items, discussions, and people.
|
|
This product's forum
Active discussions in related forums
Search Customer Discussions
|
Related forums
|