Skip to main content
Have a personal or library account? Click to login
Python 3 Cover

Python 3

Pocket Primer

Volume in the series
Paid access
|May 2017
Product purchase options
Print: Available at Amazon

An exhaustive guide to Python 3—covering core concepts, libraries, and real-world applications, including Django, pandas, and NumPy

Key Features

  • Offers an all-in-one resource spanning syntax, libraries, and frameworks
  • Designed to meet real-world demands across development and data workflows
  • Structured for progressive learning from foundations to deployment scenarios

Book Description

This in-depth guide to Python 3 begins by helping readers install the language and understand its core syntax through interactive exploration. Early chapters cover variables, control structures, functions, and data types like lists, tuples, dictionaries, and sets. Readers then move into file handling, error management, and object-oriented programming, building a solid foundation for real-world development.
As the journey continues, the book introduces advanced concepts including decorators, generators, type hints, structural pattern matching, and context managers. It thoroughly explores the Python standard library, with practical applications in math, file systems, logging, regular expressions, parallel processing, and debugging. Readers also learn how to manage packages, virtual environments, and distributions.
Later chapters shift to applied development—building GUIs with tkinter and PySide6, creating web applications with Django, and working with scientific tools like NumPy, pandas, and SciPy. The book concludes with insights on using alternative interpreters, localization, and migrating from Python 2 to 3. This resource grows with the reader, from basics to expert-level Python programming.

What you will learn

  • Explore Python syntax, control flow, and core structures
  • Implement object-oriented and modular program designs
  • Manage files, exceptions, and system-level interactions
  • Navigate built-in types like lists, sets, and dictionaries
  • Create web, GUI, and network apps using standard libraries
  • Apply scientific tools like NumPy, pandas, and matplotlib

Who this book is for

Aimed at developers, data scientists, engineers, and computer science students, this book assumes a basic understanding of programming logic but no prior Python experience. It suits both self-learners and those in formal education or technical professions.

Table of Contents

  1. Introduction
  2. The Python Programming Language
  3. Getting Started with the Interactive Mode
  4. The Path to the First Program
  5. Control Structures
  6. Files
  7. The Data Model
  8. Functions, Methods, and Attributes
  9. Sources of Information on Python
  10. Basic Data Types: An Overview
  11. Numeric Data Types
  12. Sequential Data Types
  13. Mappings and Sets
  14. Collections
  15. Date and Time
  16. Enumerations and Flags
  17. Functions
  18. Modules and Packages
  19. Object-Oriented Programming
  20. Exception Handling
  21. Generators and Iterators
  22. Context Manager
  23. Decorators
  24. Annotations for Static Type Checking
  25. Structural Pattern Matching
  26. Mathematics
  27. Screen Outputs and Logging
  28. Regular Expressions
  29. Interface to Operating System and Runtime Environment
  30. File System
  31. Parallel Programming
  32. Data Storage
  33. Network Communication
  34. Accessing Resources on the Internet
  35. Email
  36. Debugging and Quality Assurance
  37. Documentation
  38. Distributing Python Projects
  39. Virtual Environments
  40. Alternative Interpreters and Compilers
  41. Graphical User Interfaces
  42. Python as a Server-Side Programming Language on the Web: An Introduction to Django
  43. Scientific Computing and Data Science
  44. Inside Knowledge
  45. From Python 2 to Python 3
PDF ISBN: 978-1-68392-305-3 | E-Pub ISBN: 978-1-80610-246-4 | E-Pub ISBN: 978-1-68392-087-8 | Paperback ISBN: 978-1-68392-086-1 | DOI: https://doi.org/10.1515/9781683923053
Publisher: Mercury Learning and Information
Copyright owner: © 2017 Walter de Gruyter GmbH, Berlin/Boston
Publication date: 2017
Language: English
Pages: 250