Supercharged Python: Take Your Code to the Next Level
von Brian Overland John Bennett
Preis unbekannt
Buch in deiner Nähe kaufen
oder
Beschreibung
Tapping into the full power of Python doesn’t have to be difficult. Supercharged Python is written for people who’ve learned the fundamentals of the language but want to take their skills to the next level.
After a quick review of Python, the book covers: advanced list and string techniques; all the ways to handle text and binary files; financial applications; advanced techniques for writing classes; generators and decorators; and how to master packages such as Numpy (Numeric Python) to supercharge your applications!
Use profilers and “magic methods” to code like a pro
Harness the power of regular expressions to process text quickly with a single statement
Take advantage of 22 coding shortcuts, along with performance tips, to save time and optimise your code
Create really useful classes and objects, for games, simulations, money, mathematics, and more
Use multiple modules to build powerful apps while avoiding the “gotchas”
Import packages to dramatically speed up statistical operations–by as much as 100 times!
Refer to the five-part language reference to look up fine points of the language
Supercharged Python demonstrates techniques that allow you to write faster and more powerful code, whether you’re manipulating large amounts of data or building sophisticated applications. If you’re ready to write better Python code and use more advanced features, Advanced Python Programming was written for you. Brian Overland and John Bennett distill advanced topics down to their essentials, illustrating them with simple examples and practical exercises. Building on Overland’s widely-praised approach in Python Without Fear, the authors start with short, simple examples designed for easy entry, and quickly ramp you up to creating useful utilities and games, and using Python to solve interesting puzzles. Everything you’ll need to know is patiently explained and clearly illustrated, and the authors illuminate the design decisions and tricks behind each language feature they cover. You’ll gain the in-depth understanding to successfully apply all these advanced features and techniques:
Coding for runtime efficiency
Lambda functions (and when to use them)
Managing versioning
Localization and Unicode
Regular expressions
Binary operators
Radix conversions
Data formatting, in depth
Creating, building, and importing packages
Using the Django web-development package
Graphics programming
Magic methods and advanced object orientation
Reading and writing binary files, and more
Autor*in
Brian Overland
Stimmen zu »Supercharged Python: Take Your Code to the Next Level«