-
Все категории
|
Product photo
  • Безопасная оплата
  • Бесплатная доставка SMART

В наличии1 шт

Python cookbook, 3rd edition recipes for mastering python 3, david beazley

835 грн

Описание

Комплектация заказа на эту книгу занимает от 1 до 5 рабочих дней. If you need help writing programs in Python 3 , or want to update older Python 2 code, this book is just the ticket. Packed with practical recipes written and tested with Python 3.3, this unique cookbook is for experienced Python programmers who want to focus on modern tools and idioms. Inside, you'll find complete recipes for more than a dozen topics, covering the core Python language as well as tasks common to a wide variety of application domains. Each recipe contains code samples you can use in your projects right away, along with a discussion about how and why the solution works. Topics include: Data Structures and Algorithms Strings and Text Numbers, Dates, and Times Iterators and Generators Files and I/O Data Encoding and Processing Functions Classes and Objects Metaprogramming Modules and Packages Network and Web Programming Concurrency Utility Scripting and System Administration Testing, Debugging, and Exceptions C Extensions About the Author David Beazley is an independent software developer and book author living in the city of Chicago. He primarily works on programming tools, provide custom software development, and teach practical programming courses for software developers, scientists, and engineers. He is best known for his work with the Python programming language, for which he has created several open-source packages (e.g., Swig and PLY) and authored the acclaimed Python Essential Reference. He also has significant experience with systems programming in C, C++, and assembly language. Brian K. Jones is a system administrator in the department of computer science at Princeton University. Chapter 1 : Data Structures and Algorithms Unpacking a Sequence into Separate Variables Unpacking Elements from Iterables of Arbitrary Length Keeping the Last N Items Finding the Largest or Smallest N Items Implementing a Priority Queue Mapping Keys to Multiple Values in a Dictionary Keeping Dictionaries in Order Calculating with Dictionaries Finding Commonalities in Two Dictionaries Removing Duplicates from a Sequence while Maintaining Order Naming a Slice Determining the Most Frequently Occurring Items in a Sequence Sorting a List of Dictionaries by a Common Key Sorting Objects Without Native Comparison Support Grouping Records Together Based on a Field Filtering Sequence Elements Extracting a Subset of a Dictionary Mapping Names to Sequence Elements Transforming and Reducing Data at the Same Time Combining Multiple Mappings into a Single Mapping Chapter 2 : Strings and Text Splitting Strings on Any of Multiple Delimiters Matching Text at the Start or End of a String Matching Strings Using Shell Wildcard Patterns Matching and Searching for Text Patterns Searching and Replacing Text Searching and Replacing Case-Insensitive Text Specifying a Regular Expression for the Shortest Match Writing a Regular Expression for Multiline Patterns Normalizing Unicode Text to a Standard Representation Working with Unicode Characters in Regular Expressions Stripping Unwanted Characters from Strings Sanitizing and Cleaning Up Text Aligning Text Strings Combining and Concatenating Strings Interpolating Variables in Strings Reformatting Text to a Fixed Number of Columns Handling HTML and XML Entities in Text Tokenizing Text Writing a Simple Recursive Descent Parser Performing Text Operations on Byte Strings Chapter 3 : Numbers, Dates, and Times Rounding Numerical Values Performing Accurate Decimal Calculations Formatting Numbers for Output Working with Binary, Octal, and Hexadecimal Integers Packing and Unpacking Large Integers from Bytes Performing Complex-Valued Math Working with Infinity and NaNs Calculating with Fractions Calculating with Large Numerical Arrays Performing Matrix and Linear Algebra Calculations Picking Things at Random Converting Days to Seconds, and Other Basic Time Conversions Dete

Поделиться: