Черен петък: 60% отстъпка за 6 месеца

Потопи се в невероятни приключения, завладяваща романтика и неочаквани обрати. Открий над 1 милион аудиокниги

  • Над 1 милион заглавия на 7 езика
  • Детски режим - безопасна зона за деца
  • Нови книги всяка седмица и ексклузивни заглавия
  • Офлайн режим
Активирай офертата
Cover for Mastering Python

Mastering Python

Език
Английски
Формат
Категория

Документални

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 (Е-книга): 9781785289132

Дата на излизане

Е-книга: 29 април 2016 г.

Книги, подобни на Mastering Python

  1. Живей бързо 1: Васил и Георги Илиеви
    Живей бързо 1: Васил и Георги ИлиевиНадя Чолакова
    4.3
  2. Поправителен за родители: Неверните вярвания за възпитанието
    Поправителен за родители: Неверните вярвания за възпитаниетоМадлен Алгафари
    4.9
  3. The 48 Laws of Power
    The 48 Laws of PowerRobert Greene
    4.2
  4. Мозъкът, това си ти
    Мозъкът, това си тиДейвид Игълман
    4.6
  5. Богините във всяка жена: Могъщите архетипи в живота на жените
    Богините във всяка жена: Могъщите архетипи в живота на женитеД-р Джийн Шинода Болън
    4.4
  6. Българската мафия
    Българската мафияАнна Заркова
    4.3
  7. 5 приказки
    5 приказкиПопулярни приказки
    4.2
  8. Психология на глупостта
    Психология на глупосттаЖан-Франсоа Мармион
    4.1
  9. Карл Юнг: Основни идеи
    Карл Юнг: Основни идеиРут Сноудън
    4.7
  10. Наглите
    НаглитеСлави Ангелов
    4.6
  11. Психология на тълпите
    Психология на тълпитеГустав Льобон
    3.9
  12. Психология на сексуалността
    Психология на сексуалносттаЗигмунд Фройд
    3.9
  13. Зигмунд Фройд: Основни идеи
    Зигмунд Фройд: Основни идеиРут Сноудън
    4.5
  14. Коридорите на съзнанието
    Коридорите на съзнаниетоМариан Маринов
    4.8
  15. Успяващите деца
    Успяващите децаД-р Мишел Борба
    4.8
  16. The Secret
    The SecretRhonda Byrne
    4.3
  17. Тялото: Наръчник за употреба
    Тялото: Наръчник за употребаБил Брайсън
    4.8
  18. Тиреоидит на Хашимото: Първопричината
    Тиреоидит на Хашимото: ПървопричинатаИзабела Уенц
    4.5
  19. Can’t Hurt Me - Summarized for Busy People: Master Your Mind and Defy the Odds: Based on the Book by David Goggins
    Can’t Hurt Me - Summarized for Busy People: Master Your Mind and Defy the Odds: Based on the Book by David GogginsDavid Goggins
    4.2
  20. The 48 Laws of Power
    The 48 Laws of PowerRobert Greene
    4.2
  21. Взлом
    ВзломСлави Ангелов
    4.5
  22. Клетъчно хранене по време на бременност
    Клетъчно хранене по време на бременностДесислава Костова
    4.6
  23. К като Корея
    К като КореяИзабела Шопова
    4.7
  24. Живей бързо 2: Обезглавената империя
    Живей бързо 2: Обезглавената империяНадя Чолакова
    4.6
  25. Внимание: Как концентрацията управлява живота ни
    Внимание: Как концентрацията управлява живота ниНир Еял, Джули Ли
    4.2

Избери своя абонамент

  • Над 1 милион заглавия на 7 езика

  • Нови книги всяка седмица и ексклузивни заглавия

  • Детски режим - безопасна зона за деца

  • Офлайн режим

Най-популярен

Unlimited

Най-добрият избор. Избирай сред милион заглавия.

8.69 € | 16.99 лв. /30 дни

  • 1 профил

  • Неограничен достъп

  • Избирай сред милион заглавия

  • Слушай и чети неограничено

  • Прекрати по всяко време

Пробвай сега

Unlimited Годишен

33% отстъпка от месечния абонамент. Избирай сред милион заглавия.

69.53 € | 135.99 лв. /година

12 месеца на цената на 8
  • 1 профил

  • Неограничен достъп

  • Избирай от хиляди заглавия

  • Слушай и чети неограничено

  • Прекрати по всяко време

Пробвай сега

Family 2 профила

Сподели историите със семейството или приятелите си.

12.78 € | 24.99 лв. /30 дни

  • 2 профила

  • Неограничен достъп

  • Потопете се заедно в света на историите

  • Слушайте и четете неограничено

  • Прекратете по всяко време

Пробвай сега

Family 3 профила

Сподели историите със семейството или приятелите си.

14.99 € | 29.32 лв. /30 дни

  • 3 профила

  • Неограничен достъп

  • Потопете се заедно в света на историите

  • Слушайте и четете неограничено

  • Прекратете по всяко време

Пробвай сега