Hören und Lesen

Tritt ein in eine Welt voller Geschichten

  • Mehr als 600.000 Hörbücher und E-Book
  • Jederzeit kündbar
  • Exklusive Titel und Originals
  • komfortabler Kinder-Modus
Abonniere jetzt
se-device-image-1200x1200
Cover for Mastering Python

Mastering Python

Sprachen
Englisch
Format
Kategorie

Sachbuch

Master the art of writing beautiful and powerful Python by using all of the features that Python 3.5 offers

About This Book

• Become familiar with the most important and advanced parts of the Python code style

• Learn the trickier aspects of Python and put it in a structured context for deeper understanding of the language

• Offers an expert's-eye overview of how these advanced tasks fit together in Python as a whole along with practical examples

Who This Book Is For

Almost anyone can learn to write working script and create high quality code but they might lack a structured understanding of what it means to be 'Pythonic'. If you are a Python programmer who wants to code efficiently by getting the syntax and usage of a few intricate Python techniques exactly right, this book is for you.

What You Will Learn • Create a virtualenv and start a new project

• Understand how and when to use the functional programming paradigm

• Get familiar with the different ways the decorators can be written in

• Understand the power of generators and coroutines without digressing into lambda calculus

• Create metaclasses and how it makes working with Python far easier

• Generate HTML documentation out of documents and code using Sphinx

• Learn how to track and optimize application performance, both memory and cpu

• Use the multiprocessing library, not just locally but also across multiple machines

• Get a basic understanding of packaging and creating your own libraries/applications

In Detail

Python is a dynamic programming language. It is known for its high readability and hence it is often the first language learned by new programmers. Python being multi-paradigm, it can be used to achieve the same thing in different ways and it is compatible across different platforms. Even if you find writing Python code easy, writing code that is efficient, easy to maintain, and reuse is not so straightforward.

This book is an authoritative guide that will help you learn new advanced methods in a clear and contextualised way. It starts off by creating a project-specific environment using venv, introducing you to different Pythonic syntax and common pitfalls before moving on to cover the functional features in Python. It covers how to create different decorators, generators, and metaclasses. It also introduces you to functools. wraps and coroutines and how they work. Later on you will learn to use asyncio module for asynchronous clients and servers. You will also get familiar with different testing systems such as py. test, doctest, and unittest, and debugging tools such as Python debugger and faulthandler. You will learn to optimize application performance so that it works efficiently across multiple machines and Python versions. Finally, it will teach you how to access C functions with a simple Python call. By the end of the book, you will be able to write more advanced scripts and take on bigger challenges.

Style and Approach

This book is a comprehensive guide that covers advanced features of the Python language, and communicate them with an authoritative understanding of the underlying rationale for how, when, and why to use them.

© 2016 Packt Publishing (E-Book): 9781785289132

Erscheinungsdatum

E-Book: 29. April 2016

Tags

    Wähle dein Abo-Modell

    • Über 600.000 Titel

    • Lade Titel herunter mit dem Offline Modus

    • Exklusive Titel und Storytel Originals

    • Sicher für Kinder (Kindermodus)

    • Einfach jederzeit kündbar

    Basic

    Für alle, die gelegentlich hören und lesen.

    7.90 € /Monat

    7 Tage kostenlos
    • Jederzeit kündbar

    • Abo-Upgrade jederzeit möglich

    Angebot jetzt aktivieren
    Am beliebtesten!

    Unlimited

    Für alle, die unbegrenzt hören und lesen möchten.

    18.90 € /Monat

    7 Tage kostenlos
    • Jederzeit kündbar

    • Wechsel zu Basic jederzeit möglich

    Angebot jetzt aktivieren

    Anderen gefällt...

    1. Fourth Wing – Flammengeküsst (Flammengeküsst-Reihe 1)
      Fourth Wing – Flammengeküsst (Flammengeküsst-Reihe 1) Rebecca Yarros
      4.7
    2. Iron Flame – Flammengeküsst (Flammengeküsst-Reihe 2): Die heißersehnte Fortsetzung des Fantasy-Erfolgs »Fourth Wing«
      Iron Flame – Flammengeküsst (Flammengeküsst-Reihe 2): Die heißersehnte Fortsetzung des Fantasy-Erfolgs »Fourth Wing« Rebecca Yarros
      4.7
    3. Not Quite Dead Yet (Ungekürzt)
      Not Quite Dead Yet (Ungekürzt) Holly Jackson
      4.5
    4. Onyx Storm – Flammengeküsst (Flammengeküsst-Reihe 3): Die heißersehnte Fortsetzung von »Fourth Wing« und »Iron Flame«
      Onyx Storm – Flammengeküsst (Flammengeküsst-Reihe 3): Die heißersehnte Fortsetzung von »Fourth Wing« und »Iron Flame« Rebecca Yarros
      4.3
    5. Saphirblau - Liebe geht durch alle Zeiten - Liebe geht durch alle Zeiten. Die Edelstein-Trilogie, Band 2 (Ungekürzte Lesung)
      Saphirblau - Liebe geht durch alle Zeiten - Liebe geht durch alle Zeiten. Die Edelstein-Trilogie, Band 2 (Ungekürzte Lesung) Kerstin Gier
      4.7
    6. Rubinrot - Liebe geht durch alle Zeiten - Liebe geht durch alle Zeiten. Die Edelstein-Trilogie, Band 1 (Ungekürzte Lesung)
      Rubinrot - Liebe geht durch alle Zeiten - Liebe geht durch alle Zeiten. Die Edelstein-Trilogie, Band 1 (Ungekürzte Lesung) Kerstin Gier
      4.7
    7. The Pumpkin Spice Latte Disaster (Lower Whilby 1): In dieser cosy RomCom treffen Stars Hollow-Vibes auf die Enemies to lover-Trope
      The Pumpkin Spice Latte Disaster (Lower Whilby 1): In dieser cosy RomCom treffen Stars Hollow-Vibes auf die Enemies to lover-Trope Kyra Groh
      4.4
    8. Alchemised: Das internationale Phänomen – jetzt auch als Hörbuch
      Alchemised: Das internationale Phänomen – jetzt auch als Hörbuch SenLinYu
      4.4
    9. "Mama, bitte lern Deutsch" - Unser Eingliederungsversuch in eine geschlossene Gesellschaft (Ungekürzte Autorenlesung)
      "Mama, bitte lern Deutsch" - Unser Eingliederungsversuch in eine geschlossene Gesellschaft (Ungekürzte Autorenlesung) Tahsim Durgun
      4.8
    10. Crushing Souls - Driven Dreams, Teil 1 (Ungekürzt)
      Crushing Souls - Driven Dreams, Teil 1 (Ungekürzt) Carolin Wahl
      4.3
    11. 22 Bahnen: Lieblingsbuch des unabhängigen Buchhandels 2023
      22 Bahnen: Lieblingsbuch des unabhängigen Buchhandels 2023 Caroline Wahl
      4.1
    12. Blackened Blade 1: The Blackened Blade: Dark Fantasy mit einer broken Heroine, die Rache an ihren Peinigern nimmt
      Blackened Blade 1: The Blackened Blade: Dark Fantasy mit einer broken Heroine, die Rache an ihren Peinigern nimmt Isla Davon
      4.6
    13. Die Plagen der Götter - Die Plagen der Götter, Band 1 (ungekürzt)
      Die Plagen der Götter - Die Plagen der Götter, Band 1 (ungekürzt) Eva Abyss
      4.6
    14. The Paradise Problem – Wenn das Herz den perfekten Plan durchkreuzt: Nach »The Unhoneymooners« endlich die neue paradiesisch prickelnde RomCom der SPIEGEL-Bestsellerautorin
      The Paradise Problem – Wenn das Herz den perfekten Plan durchkreuzt: Nach »The Unhoneymooners« endlich die neue paradiesisch prickelnde RomCom der SPIEGEL-Bestsellerautorin Christina Lauren
      4.4
    15. Throne of Glass 1: Die Erwählte
      Throne of Glass 1: Die Erwählte Sarah J. Maas
      4.6