• EOL

Think Python: How to Think Like a Computer Scientist, 2nd Edition - Allen B. Downey

Index: KSZ-08272 EAN: 9788328330023

Translation: Peter Pilch. Publisher: Helion. The book is an ideal introduction to programming in Python.

Think Python: How to Think Like a Computer Scientist, 2nd Edition - Allen B. Downey
€10.67
€10.16 tax excl.
Product was replaced by other
Manufacturer: Helion

Attention!

The product has been discontinued. Check others products incategory.

Description

If you want to learn how to program in Python but don't know how to do it, this book is for you.

The author of the book guides the reader through the Python world from scratch. You will learn how to use functions, what is recursion, what data structures look like and what object-oriented design is all about. In each chapter you will find practical exercises to use the concepts you learn and consolidate your knowledge.

Content of the book

  • presents the basics ofPython, including its syntax and semantics
  • describes the most important programming concepts and defines important concepts
  • shows how to use values, variables, instructions, functions and data structures
  • presents methods of working with files and databases
  • explains field programming issues
  • describes debugging techniques for removing syntactic, startup and semantic errors

Sample programsavailable on the Internet. Extract from a book to beread on-line.

Table of contents

  • Preface
    • Strange book story
    • Conventions used in the book
    • Use of examples with code
    • Acknowledgements
    • List of contributors
  • Chapter 1 As in the programme
    • What is the program?
    • Launching the Python interpreter
    • First programme
    • Arithmetic operators
    • Values and types
    • Formal and natural languages
    • Debugging
    • Dictionary
    • Exercises
  • Chapter 2 Variables, expressions and instructions
    • Assignment instructions
    • Names of variables
    • Expressions and instructions
    • Scripting mode
    • Order of operations
    • Chain Operations
    • Comments
    • Debugging
    • Dictionary
    • Exercises
  • Chapter 3 Functions
    • Function calls
    • Mathematical functions
    • Submission
    • Adding new functions
    • Definitions and applications
    • Performance flow
    • Parameters and arguments
    • Variables and parameters are local
    • Stack diagrams
    • Fruitful and empty functions
    • Why the features?
    • Debugging
    • Dictionary
    • Exercises
  • Chapter 4 Case study: interface design
    • Turtle module
    • Simple repetition
    • Exercises
    • Hermetisation
    • Generalisation
    • Interface design
    • Refactorisation
    • Design plan
    • Documentation note
    • Debugging
    • Dictionary
    • Exercises
  • Chapter 5 Conditional instructions and recurrence
    • Breakdown by absolute value
    • Expressions of Bolesław
    • Logical operators
    • Conditional performance
    • Alternative execution
    • Chain of conditional instructions
    • Nested conditional instructions
    • Repeat
    • Stack diagrams for recursive functions
    • Infinite competition
    • Keyboard input
    • Debugging
    • Dictionary
    • Exercises
  • Chapter 6 Fruitful functions
    • Returned values
    • Incremental design
    • Submission
    • Boolian functions
    • Even more recurrence
    • A leap of faith
    • One more example
    • Type checking
    • Debugging
    • Dictionary
    • Exercises
  • Chapter 7. Iteration
    • Re-assignment
    • Updating the variables
    • Instruction while
    • Break instructions
    • Square elements
    • Algorithms
    • Debugging
    • Dictionary
    • Exercises
  • Chapter 8 Chains
    • The chain is a string
    • Flax function
    • Loop for
    • Chain fragments
    • Chains are unchanging
    • Search
    • Looping and counting
    • Chain methods
    • Operator in
    • Chain comparison
    • Debugging
    • Dictionary
    • Exercises
  • Chapter 9 Case study: Word play
    • Reading word lists
    • Exercises
    • Search
    • Looping using indices
    • Debugging
    • Dictionary
    • Exercises
  • Chapter 10 Letters
    • The list is a string
    • The lists are variable
    • List crossing operation
    • Listing operations
    • Parts of the list
    • List methods
    • Mapping, filtering and reduction
    • Removal of components
    • Lists and chains
    • Objects and values
    • Creating an alias
    • List arguments
    • Debugging
    • Dictionary
    • Exercises
  • Chapter 11 Dictionaries
    • The dictionary is a representation of
    • Dictionary as a collection of counters
    • Making loops and dictionaries
    • Reverse search
    • Dictionaries and letters
    • Remembered values
    • Global variables
    • Debugging
    • Dictionary
    • Exercises
  • Chapter 12. Short cuts
    • The abbreviations are constant
    • Assignment of a short period
    • Short cuts as returned values
    • Variable-length short arguments
    • Letters and short notes
    • Dictionaries and short notes
    • Strings
    • Debugging
    • Dictionary
    • Exercises
  • Chapter 13 Case study: choice of data structure
    • Word frequency analysis
    • Random numbers
    • Histogram of words
    • Frequently used words
    • Optional parameters
    • Subtraction of dictionaries
    • Random words
    • Markov analysis
    • Data structures
    • Debugging
    • Dictionary
    • Exercises
  • Chapter 14 Files
    • Sustainability
    • Reading and saving
    • Operator of the format
    • File names and paths
    • Interception of exceptions
    • Databases
    • Use of the pickle module
    • Streams
    • Saving modules
    • Debugging
    • Dictionary
    • Exercises
  • Chapter 15 Classes and objects
    • Types defined by the programmer
    • Attributes
    • Rectangles
    • Instances as returned values
    • The objects are variable
    • Copy
    • Debugging
    • Dictionary
    • Exercises
  • Chapter 16 Classes and functions
    • Time Class
    • Clean functions
    • Modifiers
    • Comparison of prototyping and planning
    • Debugging
    • Dictionary
    • Exercises
  • Chapter 17 Classes and methods
    • Object elements
    • Displaying objects
    • Another example
    • A more complex example
    • The init method
    • Method __str__
    • Overloading of operators
    • Transmission based on type
    • Polymorphism
    • Interface and implementation
    • Debugging
    • Dictionary
    • Exercises
  • Chapter 18 Inheritance
    • Objects of cards
    • Attributes of the class
    • Comparison of cards
    • Tales
    • Waist display
    • Adding, removing, moving and sorting
    • Inheritance
    • Class diagrams
    • Data encapsulation
    • Debugging
    • Dictionary
    • Exercises
  • Chapter 19 Useful elements
    • Conditional expressions
    • Letterheads
    • Generator expressions
    • Functions any and all
    • Harvest
    • Counters
    • defaultdict
    • Short cuts with name
    • Collecting keyword arguments
    • Dictionary
    • Exercises
  • Chapter 20 Debugging
    • Syntactic errors
      • I keep making changes and it doesn't change anything.
    • Start-up errors
      • My program does absolutely nothing
      • My program is suspended
        • Infinite loop
        • Infinite competition
        • Performance flow
      • When I start the program, I get an exception
      • I added so many print instructions that I was overwhelmed by the output
    • Semantic errors
      • My program doesn't work.
      • I have a big and difficult expression that doesn't work as expected
      • I have a function that does not return what I expect
      • Really, but I really don't know what to do, and I need help
      • No, I really need help
  • Chapter 21 Algorithm analysis
    • Growth rate
    • Analysis of basic operations in Python
    • Analysis of search algorithms
    • Mixing tables
    • Dictionary
      • About the author
      • Colophone

Book - Author Allen B. Downey
Book - ISBN 978-83-283-3002-3
Book - Binding miękka
Book - Publisher Helion
Package width 0.001 cm
Package height 0.001 cm
Package depth 0.001 cm
Package weight 0.001 kg

Be the first to ask a question about this product!

Customers who bought this product also bought:

Products from the same category: