Skip to main content
  • Textbook
  • © 2019

A Beginners Guide to Python 3 Programming

Authors:

  • Includes an introduction to Python as well as advanced topics such as generators and coroutines
  • Offers extensive coverage of Object Orientation and the features in Python 3 supporting classes, inheritance and protocols
  • Presents Functional Programming as well as how concepts such as closures, currying and higher order functions work in Python
  • Includes all code examples (and exercise solutions) on line in a GitHub repository

Part of the book series: Undergraduate Topics in Computer Science (UTICS)

Buy it now

Buying options

eBook USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Other ways to access

This is a preview of subscription content, log in via an institution to check for access.

Table of contents (38 chapters)

  1. Front Matter

    Pages i-xxvii
  2. Introduction

    • John Hunt
    Pages 1-11
  3. Setting Up the Python Environment

    • John Hunt
    Pages 13-22
  4. A First Python Program

    • John Hunt
    Pages 23-31
  5. Python Strings

    • John Hunt
    Pages 33-49
  6. Numbers, Booleans and None

    • John Hunt
    Pages 51-64
  7. Flow of Control Using If Statements

    • John Hunt
    Pages 65-73
  8. Iteration/Looping

    • John Hunt
    Pages 75-85
  9. Number Guessing Game

    • John Hunt
    Pages 87-97
  10. Recursion

    • John Hunt
    Pages 99-106
  11. Introduction to Structured Analysis

    • John Hunt
    Pages 107-116
  12. Functions in Python

    • John Hunt
    Pages 117-131
  13. Scope and Lifetime of Variables

    • John Hunt
    Pages 133-138
  14. Introduction to Functional Programming

    • John Hunt
    Pages 149-155
  15. Higher Order Functions

    • John Hunt
    Pages 157-166
  16. Curried Functions

    • John Hunt
    Pages 167-173
  17. Introduction to Object Orientation

    • John Hunt
    Pages 175-188
  18. Python Classes

    • John Hunt
    Pages 189-204
  19. Class Side and Static Behaviour

    • John Hunt
    Pages 205-209

About this book

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.

Reviews

“This comprehensive, well-written book covers the programming language Python in great depth … . It is better suited for those with previous programming experience and an awareness of programming paradigms and concepts.” (Michael Oudshoorn, Computing Reviews, August 5, 2021)

Authors and Affiliations

  • Midmarsh Technology Ltd, Chippenham, UK

    John Hunt

About the author

John Hunt is a technology trainer, consultant, mentor and author who has 35 years experience within the computing industry. He has worked extensively in Object Oriented and Functional technologies using language from Java through C# to Scala and of course Python. John was first involved with Python while working with a FinTech company in 2010. Since then he has been involved in numerous Python projects and has worked with a number of companies helping to develop their Python skills.

Bibliographic Information

Buy it now

Buying options

eBook USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Other ways to access