A Beginners Guide to Python 3 Programming (Undergraduate Topics in Computer Science)
Authors: John Hunt
ISBN-10: 3030202895
ISBN-13: 9783030202897
Edition 版次: 1st ed. 2019
Publication Date 出版日期: 2019-08-09
Print Length 页数: 433 pages
Book Description
By finelybook
This textbook on Python 3 explains concepts such as variables and what they represent,how data is held in memory,how a for loop works and what a string is. It also introduces key concepts such as functions,modules and packages as well as object orientation and functional programming. Each section is prefaced with an introductory chapter,before continuing with how these ideas work in Python.
Topics such as generators and coroutines are often misunderstood and these are explained in detail,whilst topics such as Referential Transparency,multiple inheritance and exception handling are presented using examples.
A Beginners Guide to Python 3 Programming provides all you need to know about Python,with numerous examples provided throughout including several larger worked case studies illustrating the ideas presented in the previous chapters.
1. Introduction
2. Setting Up the Python Environment
3.A First Python Program
4. Python Strings
5. Numbers,Booleans and None
6. Flow of Control Using If Statements
7. Iteration/Looping
8. Number Guessing Game
9. Recursion
10. Introduction to Structured Analysis
11. Functions in Python
12. Scope and Lifetime of Variables
13. Implementing a Calculator Using Functions
14. Introduction to Functional Programming
15. Higher Order Functions
16. Curried Functions
17. Introduction to Object Orientation
18. Python Classes
19. Class Side and Static Behaviour
20. Class Inheritance
21. Why Bother with Object Orientation?
22. Operator Overloading
23. Python Properties
24. Error and Exception Handling
25. Python Modules and Packages
26. Abstract Base Classes
27. Protocols,Polymorphism and Descriptors
28. Monkey Patching and Attribute Lookup
29. Decorators
30. Iterables,Iterators,Generators and Coroutines
31. Collections,Tuples and Lists
32. Sets
33. Dictionaries
34. Collection Related Modules
35. ADTs,Queues and Stacks
36. Map,Filter and Reduce
37. TicTacToe Game