Słuchaj i czytaj 50% taniej przez 4 miesiące!

Znajdź swoją nową ulubioną historię - teraz za jedyne 19,95 zł miesięcznie przez pierwsze 4 miesiące

  • Czytaj i słuchaj jak chcesz i ile chcesz
  • Ponad 500 000 tytułów
  • Tytuły dostępne wyłącznie w Storytel oraz Storytel Originals
  • Łatwa rezygnacja w dowolnym momencie
Skorzystaj ze zniżki
PL - Details page - Device banner - 894x1036
Cover for Mastering Python

Mastering Python

Język
Angielski
Format
Kategoria

Literatura Faktu

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

Wydanie

E-book: 29 kwietnia 2016

Tagi

    Inni polubili także ...

    1. Physics Textbook
      Physics Textbook Introbooks Team
    2. The Future of Capitalism
      The Future of Capitalism Introbooks Team
    3. Building Beehives For Dummies
      Building Beehives For Dummies Howland Blackiston
    4. Artificial Intelligence
      Artificial Intelligence Introbooks Team
    5. Learn and Understand Economic History
      Learn and Understand Economic History Introbooks Team
    6. Estate & Trust Administration For Dummies
      Estate & Trust Administration For Dummies Margaret A. Munro
    7. Chemistry for Students: The Only Chemistry Study Guide You'll Ever Need to Ace Your Course
      Chemistry for Students: The Only Chemistry Study Guide You'll Ever Need to Ace Your Course Leonel Travers
    8. Raising Goats For Dummies
      Raising Goats For Dummies Cheryl K. Smith
    9. Running A Bar for Dummies
      Running A Bar for Dummies Heather Dismore
    10. Quantum Numbers
      Quantum Numbers Introbooks Team
    11. Robotics
      Robotics Introbooks Team
    12. Auto Repair For Dummies: 2nd Edition
      Auto Repair For Dummies: 2nd Edition Deanna Sclar
    13. Sports Betting For Dummies
      Sports Betting For Dummies Swain Scheps
    14. Esports For Dummies
      Esports For Dummies Phill Alexander
    15. Electronic Health Records for Dummies
      Electronic Health Records for Dummies Anita Samarth
    16. Building Chicken Coops For Dummies
      Building Chicken Coops For Dummies Dave Zook
    17. German Shepherds for Dummies
      German Shepherds for Dummies D. Caroline Coile, PhD
    18. Financial Accounting Theory
      Financial Accounting Theory Introbooks Team
    19. The Future of Money
      The Future of Money Introbooks Team
    20. Paying For College For Dummies
      Paying For College For Dummies Eric Tyson, MBA
    21. Artificial Intelligence Explained
      Artificial Intelligence Explained Introbooks Team
    22. Cloud Security For Dummies
      Cloud Security For Dummies Ted Coombs
    23. One Move at a Time: How to Play and Win at Chess and Life
      One Move at a Time: How to Play and Win at Chess and Life Orrin C. Hudson
    24. Group Theory
      Group Theory Introbooks Team
    25. Albert Einstein's Theories
      Albert Einstein's Theories Introbooks Team
    26. CODING INTERVIEW: A Beginner's Guide, 50+ Tips and Tricks, Simple and Effective Methods and Advanced methods to learn and Excel in Coding Interview
      CODING INTERVIEW: A Beginner's Guide, 50+ Tips and Tricks, Simple and Effective Methods and Advanced methods to learn and Excel in Coding Interview Eric Schmidt
    27. Casino Gambling For Dummies, 2nd Edition
      Casino Gambling For Dummies, 2nd Edition Swain Scheps
    28. How To Do Algebra
      How To Do Algebra HowExpert
    29. Game Theory: Applications to Economics and Economic Theory
      Game Theory: Applications to Economics and Economic Theory Daniel Shore
    30. Horseback Riding For Dummies
      Horseback Riding For Dummies Audrey Pavia
    31. History of Engineering
      History of Engineering Introbooks Team
    32. Artificial Intelligence: Data Analytics and Robot Learning in Practice and Theory
      Artificial Intelligence: Data Analytics and Robot Learning in Practice and Theory John Cobar
    33. Data Visualization Guide: Clear Guide to Data Science and Visualization
      Data Visualization Guide: Clear Guide to Data Science and Visualization Alex Campbell
    34. Astrophysics
      Astrophysics Introbooks Team
    35. Intellectual Property Crash Course
      Intellectual Property Crash Course Introbooks Team
    36. Trade War
      Trade War Introbooks Team
    37. Chemical Engineering: Design and Analysis of Chemical Process Engineering
      Chemical Engineering: Design and Analysis of Chemical Process Engineering Phil Gilberts
    38. New Developments in Statistics
      New Developments in Statistics Introbooks Team
    39. Linux for Beginners: How to Perform Linux Admin Tasks
      Linux for Beginners: How to Perform Linux Admin Tasks ATTILA KOVACS
    40. The Rise of Open Source Software
      The Rise of Open Source Software Introbooks Team
    41. Character is Higher Than Intellect
      Character is Higher Than Intellect Introbooks Team
    42. US Corporate Tax System
      US Corporate Tax System Introbooks Team
    43. Possibility Unleashed: PATHBREAKING LESSONS FOR MAKING CHANGE HAPPEN IN YOUR ORGANIZATION AND BEYOND
      Possibility Unleashed: PATHBREAKING LESSONS FOR MAKING CHANGE HAPPEN IN YOUR ORGANIZATION AND BEYOND Marc Harrison
    44. Ethical Hacking With Kali Linux: Learn Fast How To Penetrate Wired Or Wireless Networks | 2 Books In 1
      Ethical Hacking With Kali Linux: Learn Fast How To Penetrate Wired Or Wireless Networks | 2 Books In 1 HUGO HOFFMAN
    45. Quantum Electronics
      Quantum Electronics Introbooks Team
    46. Modern Technology: Chemical, Electrical, Industrial, and Mechanical Engineering (4 in 1)
      Modern Technology: Chemical, Electrical, Industrial, and Mechanical Engineering (4 in 1) Phil Gilberts
    47. Crash Course Income Statement
      Crash Course Income Statement Introbooks Team
    48. Cryptocurrency Investment Crash Course
      Cryptocurrency Investment Crash Course Introbooks Team
    49. How To Think and Realize Objectives Under Any Proper Rule Environment: A New Math to Understand and Analyse Social and Economic Issues
      How To Think and Realize Objectives Under Any Proper Rule Environment: A New Math to Understand and Analyse Social and Economic Issues J. Edson Lira
    50. Scientific Methods
      Scientific Methods Introbooks Team
    51. Ear Training Course for Guitar: Intervals
      Ear Training Course for Guitar: Intervals Julia Whitlock

    Wybierz swoją subskrypcję:

    • Ponad 500 000 tytułów w cenie jednego abonamentu

    • Słuchaj i czytaj w trybie offline

    • Ekskluzywne produkcje audio Storytel Original

    • Tryb dziecięcy Kids Mode

    • Anuluj kiedy chcesz

    Najpopularniejsze
    50% taniej przez 4 miesiące

    Unlimited

    Dla tych, którzy chcą słuchać i czytać bez limitów.

    39.90 zł /30 dni
    • 1 konto

    • Nielimitowany Dostęp

    • 1 konto

    • Słuchanie bez limitów

    • Anuluj w dowolnym momencie

    Skorzystaj z promocji

    Unlimited na rok

    Dla tych, którzy chcą słuchać i czytać bez limitów.

    39.90 zł /30 dni
    • 1 konto

    • Nielimitowany Dostęp

    • 1 konto

    • Słuchanie bez limitów

    • Anuluj w dowolnym momencie

    Rozpocznij subskrypcję

    Basic

    Dla tych, którzy słuchają i czytają od czasu do czasu.

    22.90 zł /30 dni
    7 dni za darmo
    • 1 konto

    • 10 godzin/miesięcznie

    • 1 konto

    • 10 godzin / miesiąc

    • Anuluj w dowolnym momencie

    Wypróbuj

    Family

    Dla tych, którzy chcą dzielić się historiami ze znajomymi i rodziną.

    Od 59.90 zł/30 dni
    7 dni za darmo
    • 2-3 kont

    • Nielimitowany Dostęp

    • 2–3 konta

    • Słuchanie bez limitów

    • Anuluj w dowolnym momencie

    2 konta

    59.90 zł /30 dni
    Wypróbuj