Skip to main content

A Beginners Guide to Python 3 Programming

  • Textbook
  • © 2023

Overview

  • Presents Python Programming from beginner level principles to advanced topics such as Decorators and Monkey Patching
  • Includes all code examples (and exercise solutions) online in a GitHub repository
  • Covers Structured Analysis, Object Oriented Programming and Functional Programming

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

  • 86k Accesses

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

Access this book

eBook USD 49.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 64.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access

Licence this eBook for your library

Institutional subscriptions

Table of contents (46 chapters)

Keywords

About this book

This textbook is aimed at readers who have little or no knowledge of computer programming but want to learn to program in Python. It starts from the very basics including how to install your Python environment, how to write a very simple program and run it, what a variable is, what an if statement is, how iteration works using for and while loops as well as important key concepts such as functions, classes and modules. Each subject area is prefaced with an introductory chapter, before continuing with how these ideas work in Python.

The second edition has been completely updated for the latest versions of Python including Python 3.11 and Python 3.12. New chapters have been added such as those that consider where and how Python is used, the use of Frozensets, how data can be sorted, enumerated types in Python, structural pattern matching and how (and why) Python Virtual Environments are configured. A new chapter ‘The Python Bites back’ is introduced to present the fourteen most common / biggest gotchas for someone new to Python. Other sections have been updated with new features such as Exception Groups, string operations and dictionary operations.

A Beginners Guide to Python 3 Programming second Edition 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.


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

Publish with us