Learn to Program Using Python: A Tutorial for Hobbyists, Self-Starters, and Thos

Alan Gauld

限量商品 (庫存=6)




This book is an ideal starting point for students learning the essentials of computer programming. Assuming no prior knowledge (other than basic computer operation), this unintimidating and clearly written guide introduces the student 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. Using the Python language to teach the fundamentals of computer programming, 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.

Back to Top

Appropriate Courses

Back to Top


Back to Top

Table Of Contents



1. Who, What, and How?
2. What Do I Need?
3. What Is Programming?
4. Getting Started.


5. Simple Sequences.
6. The Raw Materials.
7. More Sequences and Other Things.
8. Looping, or the Art of Repeating Oneself.
9. Decisions, Decisions.
10. Conversing with the User.
11. Modular Programming.
12. Handling Files and Text.
13. A Touch of Style.
14. Handling Errors.

III. Advanced Topics.

15. Recursion.
16. Namespaces.
17. Object-Oriented Programming.
18. Event-Driven Programming.
19. Regular Expressions.
20. Debugging.
21. Designing a Solution.

IV. Case Studies.

22. Grammar Counter.
23. Guessing Games.
Appendix A. Installing and Testing Python.
Appendix B. Some Interesting Programming Languages.
Appendix C. Resources.

Back to Top