Learn Python Programming
eBook - ePub

Learn Python Programming

A comprehensive, up-to-date, and definitive guide to learning Python

  1. English
  2. ePUB (mobile friendly)
  3. Available on iOS & Android
eBook - ePub

Learn Python Programming

A comprehensive, up-to-date, and definitive guide to learning Python

About this book

This edition offers updated content covering Python 3.9 to 3.12, new chapters on type hinting and CLI applications, and expanded practical examples, making it the ideal resource for both new and experienced Python programmers

Key Features

  • Create and deploy APIs and CLI applications, leveraging Python's strengths in scripting and automation
  • Stay current with the latest features and improvements in Python, including pattern matching and the latest exception handling syntax
  • Engage with new real-world examples and projects, including competitive programming problems, to solidify your understanding of Python

Book Description

Learn Python Programming, Fourth Edition, provides a comprehensive, up-to-date introduction to Python programming, covering fundamental concepts and practical applications. This edition has been meticulously updated to include the latest features from Python versions 3.9 to 3.12, new chapters on type hinting and CLI applications, and updated examples reflecting modern Python web development practices. This Python book empowers you to take ownership of writing your software and become independent in fetching the resources you need. By the end of this book, you will have a clear idea of where to go and how to build on what you have learned from the book. Through examples, the book explores a wide range of applications and concludes by building real-world Python projects based on the concepts you have learned. This Python book offers a clear and practical guide to mastering Python and applying it effectively in various domains, such as data science, web development, and automation.

What you will learn

  • Install and set up Python on Windows, Mac, and Linux
  • Write elegant, reusable, and efficient code
  • Avoid common pitfalls such as duplication and over-engineering
  • Use functional and object-oriented programming approaches appropriately
  • Build APIs with FastAPI and program CLI applications
  • Understand data persistence and cryptography for secure applications
  • Manipulate data efficiently using Python's built-in data structures
  • Package your applications for distribution via the Python Package Index (PyPI)
  • Solve competitive programming problems with Python

Who this book is for

This Python programming book is for everyone who wants to learn Python from scratch, as well as experienced programmers looking for a reference book. Prior knowledge of basic programming concepts will help you follow along, but it's not a prerequisite

]]>

Trusted by 375,005 students

Access to over 1 million titles for a fair monthly price.

Study more efficiently using our study tools.

Table of contents

  1. Preface
  2. A Gentle Introduction to Python
  3. Built-In Data Types
  4. Conditionals and Iteration
  5. Functions, the Building Blocks of Code
  6. Comprehensions and Generators
  7. OOP, Decorators, and Iterators
  8. Exceptions and Context Managers
  9. Files and Data Persistence
  10. Cryptography and Tokens
  11. Testing
  12. Debugging and Profiling
  13. Introduction to Type Hinting
  14. Data Science in Brief
  15. Introduction to API Development
  16. CLI Applications
  17. Packaging Python Applications
  18. Programming Challenges
  19. Index

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn how to download books offline
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 990+ topics, we’ve got you covered! Learn about our mission
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more about Read Aloud
Yes! You can use the Perlego app on both iOS and Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app
Yes, you can access Learn Python Programming by Fabrizio Romano,Heinrich Kruger in PDF and/or ePUB format, as well as other popular books in Computer Science & Programming in Python. We have over one million books available in our catalogue for you to explore.