Knihobot

Luciano Ramalho

    Programmer en Python
    Zaawansowany Python
    Fluent Python
    Fluent Python. Clear, Concise, and Effective Programming
    • Python's simplicity lets you become productive quickly, but often this means you aren't using everything it has to offer. With the updated edition of this hands-on guide, you'll learn how to write effective, modern Python 3 code by leveraging its best ideas. Don't waste time bending Python to fit patterns you learned in other languages. Discover and apply idiomatic Python 3 features beyond your past experience. Author Luciano Ramalho guides you through Python's core language features and libraries and teaches you how to make your code shorter, faster, and more readable. Featuring major updates throughout the book, Fluent Python, second edition, covers: Special methods: The key to the consistent behavior of Python objects Data structures: Sequences, dicts, sets, Unicode, and data classes Functions as objects: First-class functions, related design patterns, and type hints in function declarations Object-oriented idioms: Composition, inheritance, mixins, interfaces, operator overloading, static typing and protocols Control flow: Context managers, generators, coroutines, async/await, and thread/process pools Metaprogramming: Properties, attribute descriptors, class decorators, and new class metaprogramming hooks that are simpler than metaclasses

      Fluent Python. Clear, Concise, and Effective Programming
    • Fluent Python

      • 792 stránek
      • 28 hodin čtení
      4,6(1358)Ohodnotit

      Explains how to write idiomatic, effective Python code by leveraging its best features. Python's simplicity quickly lets you become productive with it, but this often means you aren't using everything the language has to offer. By taking you through Python's key language features and libraries, this practical book shows you how to make your code shorter, faster, and more readable all at the same time. --From publisher description

      Fluent Python
    • Prostota języka Python pozwala szybko osiągnąć produktywność, ale oznacza to również, że często nie wykorzystujemy wszystkiego, co ma da zaoferowania. Dzięki temu praktycznemu poradnikowi Czytelnik nauczy się, jak pisać efektywny, idiomatyczny kod Pythona dzięki wykorzystaniu jego najlepszych i zapewne najbardziej lekceważonych cech. Autor, Luciano Ramalho, prowadzi Czytelnika poprzez podstawowe cechy języka i biblioteki i pokazuje, jak sprawić, aby kod był jednocześnie krótszy, szybszy i bardziej czytelny. Wielu doświadczonych programistów próbuje nagiąć Pythona do wzorców, których nauczyli się z innych języków i nigdy nie odkrywa możliwości, które wykraczają poza ich doświadczenie. Dzięki tej książce ci programiści będą mogli się nauczyć, jak osiągnąć biegłość w języku Python 3. Książka obejmuje: Model danych Pythona: pozwala zrozumieć, że metody specjalne są kluczem do spójnego zachowania obiektów Struktury danych: umożliwia w pełni wykorzystać wbudowane typy i zrozumieć dualizm tekstowo-bajtowy w erze Unicode Funkcje jako obiekty: wgląd w funkcje Pythona jako obiekty pierwszej klasy i wyjaśnienie, jak wpływa to na popularne wzorce projektowania Idiomy zorientowane obiektowo: budowanie klas poprzez poznawanie odwołań, zmienności, interfejsów, przeciążanie operatorów i wielokrotne dziedziczenie Przepływ sterowania: wykorzystanie menedżerów kontekstu, generatorów, współprogramów i współbieżności przy użyciu pakietów concurrent.futures i asyncio Metaprogramowanie: wykorzystanie właściwości, deskryptorów atrybutów, dekoratorów klas i metaklas Luciano Ramalho, programista Pythona od roku 1998, jest członkiem Python Software Foundation, współwłaścicielem Python.pro.br brazylijskiej firmy szkoleniowej i współzałożycielem Garoa Hacker Clube, pierwszego w Brazyli klubu hackerskiego. Prowadzi zespoły projektowania oprogramowania i wykłada stosowanie Pythona dla sektora medialnego, bankowego i rządowego. „Jestem dumny, że zostałem recenzentem technicznym tej książki nie tylko pomoże ona wielu średnio zaawanowanym programistom w ich drodze do mistrzostwa, ale ja sam nauczyłem się z niej kilku rzeczy!” —Alex Martelli Python Software Foundation „Zaawansowany Python to skarbiec pełen użytecznych programistycznych trików, przydatnych tak średnio, jak i bardzo doświadczonym programistom, którzy chcą rozszerzyć granice swojej wiedzy.” —Daniel i Audrey Roy Greenfeld autorzy Two Scoops of Django

      Zaawansowany Python
    • "La simplicité de Python vous permet de devenir rapidement productif, mais cela signifie souvent que vous n'utilisez pas tout ce que ce langage a à vous offrir. Grâce à ce livre, vous apprendrez à écrire du code Python à la fois efficace et idiomatique, en tirant parti de ses fonctionnalités les meilleures (et pourtant peut-être les plus négligées). L'auteur, expert renommé de Python, vous présente les bibliothèques centrales de ce langage, et vous montre comment rendre votre code à la fois plus court, plus rapide et plus lisible. Beaucoup trop de programmeurs expérimentés essaient de forcer Python à s'adapter aux modèles qu'ils ont appris avec d'autres langages, sans jamais exploiter les fonctionnalités spécifiques à Python et qu'ils n'ont pas rencontrées dans leur pratique antérieure. Avec ce livre, ces programmeurs vont apprendre de manière approfondie à devenir performants en Python 3.x!" [source : 4e de couv.]

      Programmer en Python