Lyt når som helst, hvor som helst

Nyd den ubegrænsede adgang til tusindvis af spændende e- og lydbøger - helt gratis

  • Lyt og læs så meget du har lyst til
  • Opdag et kæmpe bibliotek fyldt med fortællinger
  • Eksklusive titler + Mofibo Originals
  • Opsig når som helst
Start tilbuddet
DK - Details page - Device banner - 894x1036

Mastering Python

Sprog
Engelsk
Format
Kategori

Fakta

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-bog): 9781785289132

Release date

E-bog: 29. april 2016

Andre kan også lide...

  1. Modern Technology: Chemical, Electrical, Industrial, and Mechanical Engineering (4 in 1) Phil Gilberts
  2. Artificial Intelligence Introbooks Team
  3. AI for beginners: Begin your AI developer journey in 2024 Et Tu Code
  4. In Pursuit of Zeta-3: The World's Most Mysterious Unsolved Math Problem Paul J. Nahin
  5. Hacking: A Quick and Simple Introduction to the Basics of Hacking, Scripting, Cybersecurity, Networking, and System Penetration Hans Weber
  6. Probability, Markov Chains, Queues, and Simulation: The Mathematical Basis of Performance Modeling William J. Stewart
  7. The Future of Capitalism Introbooks Team
  8. Artificial Intelligence: Data Analytics and Robot Learning in Practice and Theory John Cobar
  9. An Introduction to Mathematical Analysis for Economic Theory and Econometrics Juraj Zeman
  10. Everyday Calculus: Discovering the Hidden Math All around Us Oscar E. Fernandez
  11. Physics Textbook Introbooks Team
  12. Building Beehives For Dummies Howland Blackiston
  13. Estate & Trust Administration For Dummies Margaret A. Munro
  14. Chemistry for Students: The Only Chemistry Study Guide You'll Ever Need to Ace Your Course Leonel Travers
  15. Raising Goats For Dummies Cheryl K. Smith
  16. Esports For Dummies Phill Alexander
  17. Cloud Security For Dummies Ted Coombs
  18. Ethical Hacking With Kali Linux: Learn Fast How To Penetrate Wired Or Wireless Networks | 2 Books In 1 HUGO HOFFMAN
  19. Building Chicken Coops For Dummies Dave Zook
  20. Mathematical Knowledge and the Interplay of Practices José Ferreirós
  21. Electronic Health Records for Dummies Anita Samarth
  22. Running A Bar for Dummies Heather Dismore
  23. Heavenly Mathematics: The Forgotten Art of Spherical Trigonometry Glen Van Brummelen
  24. Excel 2016: A Comprehensive Beginner’s Guide to Microsoft Excel 2016 Timothy C. Needham
  25. Social Security for Dummies Jonathan Peterson
  26. Making and Breaking Mathematical Sense: Histories and Philosophies of Mathematical Practice Roi Wagner
  27. Philosophy: Stoic, Critical, and Intelligent Thinking Patterns throughout the Ages Samirah Eaton
  28. Freedom or Equality: The Key to Prosperity Through Social Capitalism Daniel Lacalle
  29. Skepticism: The Stoic, the Skeptic, and the Existentialist Thinkers of the World Hector Janssen
  30. German Shepherds for Dummies D. Caroline Coile, PhD
  31. Paying For College For Dummies Eric Tyson, MBA
  32. Viewpoints: Mathematical Perspective and Fractal Geometry in Art Marc Frantz
  33. Data Visualization Guide: Clear Guide to Data Science and Visualization Alex Campbell
  34. Executive Recruiting For Dummies Mark J. Haluska
  35. Dark Psychology and Manipulation: How To Influence People: The Ultimate Guide To Learning The Art of Persuasion, Body Language, Hypnosis, NLP Secrets, Emotional Influence And Mind Control Techniques william cure
  36. Critical Thinking: Skills to Contemplate Life, Nature, the Human Race, and More Hector Janssen
  37. Mathematics in Nature: Modeling Patterns in the Natural World John Adam
  38. Music Theory for Beginners: Essential Music Theory Made Easy for All Musicians Aventuras De Viaje
  39. CompTIA Security+ All-in-One Exam Guide, Sixth Edition (Exam SY0-601) Wm. Arthur Conklin
  40. Critical Thinking: Becoming Skeptical, Smarter, and Deeper in Your Thought Patterns Hector Janssen
  41. Philosophy: Wise Ideas from Eastern and Western Philosophers Philip Rivaldi
  42. Paralegal Career For Dummies: 2nd Edition Lisa Zimmer Hatch, MA
  43. Horseback Riding For Dummies Audrey Pavia
  44. Summary, Analysis, and Review of Brian Greene's Until the End of Time: Mind, Matter, and Our Search for Meaning in an Evolving Universe Start Publishing Notes
  45. Guide to Niall Kishtainy's A Little History of Economics by Instaread Instaread
  46. How To Do Algebra HowExpert
  47. No Bull Music Theory for Guitarists: Master the Essential Knowledge All Guitarists Need To Know James Shipway

Vælg dit abonnement

  • Over 600.000 titler

  • Download og nyd titler offline

  • Eksklusive titler + Mofibo Originals

  • Børnevenligt miljø (Kids Mode)

  • Det er nemt at opsige når som helst

Flex

For dig som vil prøve Mofibo.

89 kr. /måned
  • 1 konto

  • 20 timer/måned

  • Gem op til 100 ubrugte timer

  • Eksklusivt indhold hver uge

  • Fri lytning til podcasts

  • Ingen binding

Prøv gratis
Den mest populære

Premium

For dig som lytter og læser ofte.

129 kr. /måned
  • 1 konto

  • 100 timer/måned

  • Eksklusivt indhold hver uge

  • Fri lytning til podcasts

  • Ingen binding

Start tilbuddet

Unlimited

For dig som lytter og læser ubegrænset.

149 kr. /måned
  • 1 konto

  • Ubegrænset adgang

  • Eksklusivt indhold hver uge

  • Fri lytning til podcasts

  • Ingen binding

Start tilbuddet

Family

For dig som ønsker at dele historier med familien.

Fra 179 kr. /måned
  • 2-6 konti

  • 100 timer/måned pr. konto

  • Fri lytning til podcasts

  • Kun 39 kr. pr. ekstra konto

  • Ingen binding

2 konti

179 kr. /måned
Start tilbuddet