Supercharged Python: Take Your Code to the Next Level

Series
Addison-Wesley
Author
Brian Overland  
Publisher
Addison-Wesley
Cover
Softcover
Edition
1
Language
English
Total pages
672
Pub.-date
July 2019
ISBN13
9780135159941
ISBN
0135159946
Related Titles


Product detail

Product Price CHF Available  
9780135159941
Supercharged Python: Take Your Code to the Next Level
51.10 approx. 7-9 days

Description

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.

Features

  • Breaks advanced topics down to their essentials, illustrating them with simple examples and practical exercises
  • Covers runtime efficiency, lambda functions, regex, binary operators, advanced data formatting, packages, Django, graphics, magic methods, binary files, and more
  • Deepens your insight by illuminating design decisions and tricks behind each language feature
  • Includes challenging projects to showcase Python’s power
  • Instructors can access additional examples, exercises, and resources

Table of Contents

  • Chapter 1: Review of the Fundamentals
  • Chapter 2: Advanced String Capabilities
  • Chapter 3: Advanced List Capabilities
  • Chapter 4: Shortcuts, Command Line, and Packages
  • Chapter 5: Formatting Text Precisely
  • Chapter 6: Regular Expressions, Part I
  • Chapter 7: Regular Expressions, Part II
  • Chapter 8: Text and Binary Files
  • Chapter 9: Classes and Magic Methods
  • Chapter 10: Decimal, Money, and Other Classes
  • Chapter 11: The Random and Math Packages
  • Chapter 12: The “numpy” (Numeric Python) Package
  • Chapter 13: Advanced Uses of “numpy”
  • Chapter 14: Multiple Modules and the RPN Example
  • Chapter 15: Getting Financial Data off the Internet
  • Appendix A Python Operator Precedence Table
  • Appendix B Built-In Python Functions
  • Appendix C Set Methods
  • Appendix D Dictionary Methods
  • Appendix E Statement Reference

Back Cover

According to Stack Overflow, Python has a solid claim to being the fastest-growing major programming language.  (Due in some measure to the rich set of machine learning and data science libraries and frameworks available to Python coders.)

Python is a widely used high-level programming language for general-purpose programming, created by Guido van Rossum and first released in 1991. An interpreted language, Python has a design philosophy that emphasizes code readability (notably using whitespace indentation to delimit code blocks rather than curly brackets or keywords), and a syntax that allows programmers to express concepts in fewer lines of code than might be used in languages such as C++ or Java. It provides constructs that enable clear programming on both small and large scales.

Python is a multi-paradigm programming language. Object-oriented programming and structured programming are fully supported, and many of its features support functional programming and aspect-oriented programming. Rather than having all of its functionality built into its core, Python was designed to be highly extensible.

This text is intended for a second course on Python, to enable students who have a basic understanding of Python to take their programming skills to the next level. Areas covered include: writing for run-time efficiency; lambda functions and when to use them; versioning issues; understanding Unicode and localization; regular expressions; binary operators and how to use them; converting between radixes; complete rules for every aspect of data formatting; creating, building, and importing packages; using the Django web-development package; graphics programming; fine points of object orientation with “magic methods”; and reading and writing binary files.
 
  • Breaks advanced topics down to their essentials, illustrating them with simple examples and practical exercises
  • Covers runtime efficiency, lambda functions, regex, binary operators, advanced data formatting, packages, Django, graphics, magic methods, binary files, and more
  • Deepens your insight by illuminating design decisions and tricks behind each language feature
  • Includes challenging projects to showcase Python’s power
  • Instructors can access additional examples, exercises, and resources
All you need to learn advanced Python programming -- patiently explained and clearly illustrated with simple examples
  • Picks up where Brian Overland’s Python Without Fear left off, covering more advanced topics and practices
  • Breaks advanced topics down to their essentials, illustrating them with simple examples and practical exercises
  • Covers runtime efficiency, lambda functions, regex, binary operators, advanced data formatting, packages, Django, graphics, magic methods, binary files, and more
  • Deepens your insight by illuminating design decisions and tricks behind each language feature
  • Includes challenging projects to showcase Python’s power
  • Instructors can access additional examples, exercises, and resources

Author

Brian Overland is a textbook author, sometime actor, programmer, film reviewer, and novelist. He has been professionally programming with the C family of languages since the early 1980s and spent 10 years at Microsoft, first as a software tester and then as programmer/writer, manager, and project lead. Almost unique among programmers, he is an award-winning writer deeply committed to teaching and simplifying advanced concepts. You can read his comments on technology, reviews, and his upcoming book projects at brianoverland.com.

John Bennett was formerly a senior software engineer at Proximity Technology, Franklin Electronic Publishing, and Microsoft Corporation. More recently, he has developed new programming languages using Python as a prototyping tool. He has worked on a variety of software projects, including a handheld spellchecker and East Asian handwriting recognition software. He holds nine U.S. patents.