Modern Python cookbook : the latest in modern Python recipes for the busy modern programmer /
The latest in modern Python recipes for the busy modern programmer About This Book • Develop succinct, expressive programs in Python • Learn the best practices and common idioms through carefully explained and structured recipes • Discover new ways to apply Python fo...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Birmingham, UK :
Packt Publishing,
2016.
|
Temas: | |
Acceso en línea: | Texto completo Texto completo |
MARC
LEADER | 00000cam a2200000Ii 4500 | ||
---|---|---|---|
001 | EBSCO_ocn967729451 | ||
003 | OCoLC | ||
005 | 20231017213018.0 | ||
006 | m o d | ||
007 | cr unu|||||||| | ||
008 | 170105s2016 enk o 000 0 eng d | ||
040 | |a UMI |b eng |e rda |e pn |c UMI |d YDX |d IDEBK |d N$T |d TEFOD |d OCLCF |d STF |d OCLCQ |d COO |d VT2 |d UOK |d CEF |d KSU |d INT |d DEBBG |d OCLCQ |d UKMGB |d WYU |d LVT |d AGLDB |d IGB |d UKAHL |d UKSSU |d OCLCO |d OCLCQ |d OCLCO | ||
015 | |a GBB709146 |2 bnb | ||
016 | 7 | |a 018135841 |2 Uk | |
019 | |a 965475176 |a 965706846 | ||
020 | |z 9781786469250 | ||
020 | |a 9781786463845 | ||
020 | |a 1786463849 | ||
020 | |z 1786469251 | ||
029 | 1 | |a GBVCP |b 897170059 | |
029 | 1 | |a UKMGB |b 018135841 | |
035 | |a (OCoLC)967729451 |z (OCoLC)965475176 |z (OCoLC)965706846 | ||
037 | |a CL0500000812 |b Safari Books Online | ||
050 | 4 | |a QA76.73.P98 | |
072 | 7 | |a COM |x 051360 |2 bisacsh | |
082 | 0 | 4 | |a 006.8 |2 23 |
049 | |a UAMI | ||
100 | 1 | |a Lott, Steven F., |e author. | |
245 | 1 | 0 | |a Modern Python cookbook : |b the latest in modern Python recipes for the busy modern programmer / |c Steven F. Lott. |
246 | 3 | 0 | |a Latest in modern Python recipes for the busy modern programmer |
264 | 1 | |a Birmingham, UK : |b Packt Publishing, |c 2016. | |
300 | |a 1 online resource (1 volume) | ||
336 | |a text |b txt |2 rdacontent | ||
337 | |a computer |b c |2 rdamedia | ||
338 | |a online resource |b cr |2 rdacarrier | ||
588 | |a Description based on online resource; title from cover (Safari, viewed January 5, 2017). | ||
505 | 0 | |a Cover -- Title Page -- Copyright -- Credits -- About the Author -- About the Reviewers -- www.PacktPub.com -- Table of Contents -- Preface -- Chapter 1: Numbers, Strings, and Tuples -- Introduction -- Creating meaningful names and using variables -- Getting ready -- How to do it... -- Choosing names wisely -- Assigning names to objects -- How it works... -- There's more... -- See also -- Working with large and small integers -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Choosing between float, decimal, and fraction -- Getting ready -- How to do it... -- Doing currency calculations -- Fraction calculations -- Floating-point approximations -- Converting numbers from one type to another -- How it works... -- There's more... -- See also -- Choosing between true division and floor division -- Getting ready -- How to do it... -- Doing floor division -- Doing true division -- Rational fraction calculations -- How it works... -- See also -- Rewriting an immutable string -- Getting ready -- How to do it... -- Slicing a piece of a string -- Updating a string with a replacement -- Making a string all lowercase -- Removing extra punctuation marks -- How it works... -- There's more... -- See also -- String parsing with regular expressions -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Building complex strings with "template".format() -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Building complex strings from lists of characters -- Getting ready -- How to do it... -- How it works... -- There's more -- See also -- Using the Unicode characters that aren't on our keyboards -- Getting ready -- How to do it... -- How it works... -- See also -- Encoding strings -- creating ASCII and UTF-8 bytes -- Getting ready -- How to do it... | |
505 | 8 | |a How it works... -- See also -- Decoding bytes -- how to get proper characters from some bytes -- Getting ready -- How to do it.. -- How it works... -- See also -- Using tuples of items -- Getting ready -- How to do it... -- Creating tuples -- Extracting items from a tuple -- How it works... -- There's more -- See also... -- Chapter 2: Statements and Syntax -- Introduction -- Writing Python script and module files -- syntax basics -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Writing long lines of code -- Getting ready -- How to do it... -- Using backslash to break a long statement into logical lines -- Using the () characters to break a long statement into sensible pieces -- Using string literal concatenation -- Assigning intermediate results to separate variables -- How it works... -- There's more... -- See also -- Including descriptions and documentation -- Getting ready -- How to do it... -- Writing docstrings for scripts -- Writing docstrings for library modules -- How it works... -- There's more... -- See also -- Writing better RST markup in docstrings -- Getting ready -- How to do it... -- How it works... -- There's more... -- Using directives -- Using inline markup -- See also -- Designing complex if...elif chains -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Designing a while statement which terminates properly -- Getting ready -- How to do it... -- How it works... -- See also -- Avoiding a potential problem with break statements -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Leveraging the exception matching rules -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Avoiding a potential problem with an except: clause -- Getting ready -- How to do it... -- How it works... -- See also. | |
505 | 8 | |a Chaining exceptions with the raise from statement -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Managing a context using the with statement -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Chapter 3: Function Definitions -- Introduction -- Designing functions with optional parameters -- Getting ready -- How to do it... -- Particular to General Design -- General to Particular design -- How it works... -- There's more... -- See also -- Using super flexible keyword parameters -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Forcing keyword-only arguments with the * separator -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Writing explicit types on function parameters -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Picking an order for parameters based on partial functions -- Getting ready -- How to do it... -- Wrapping a function -- Creating a partial function with keyword parameters -- Creating a partial function with positional parameters -- How it works... -- There's more... -- See also -- Writing clear documentation strings with RST markup -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Designing recursive functions around Python's stack limits -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Writing reusable scripts with the script library switch -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Chapter 4: Built-in Data Structures -- list, set, dict -- Introduction -- Choosing a data structure -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also. | |
505 | 8 | |a Building lists -- literals, appending, and comprehensions -- Getting ready -- How to do it... -- Building a list with the append() method -- Writing a list comprehension -- Using the list function on a generator expression -- How it works... -- There's more... -- Other ways to extend a list -- See also -- Slicing and dicing a list -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Deleting from a list -- deleting, removing, popping, and filtering -- Getting ready -- How to do it... -- Deleting items from a list -- The remove() method -- The pop() method -- The filter() function -- How it works... -- There's more... -- See also -- Reversing a copy of a list -- Getting ready -- How to do it... -- How it works... -- See also -- Using set methods and operators -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Removing items from a set -- remove(), pop(), and difference -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Creating dictionaries -- inserting and updating -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Removing from dictionaries -- the pop() method and the del statement -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Controlling the order of dict keys -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Handling dictionaries and sets in doctest examples -- Getting ready -- How to do it... -- How it works... -- There's more... -- Understanding variables, references, and assignment -- How to do it... -- How it works... -- There's more... -- See also -- Making shallow and deep copies of objects -- Getting ready -- How to do it... -- How it works... -- See also -- Avoiding mutable default values for function parameters. | |
505 | 8 | |a Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Chapter 5: User Inputs and Outputs -- Introduction -- Using features of the print() function -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Using input() and getpass() for user input -- Getting ready -- How to do it... -- How it works... -- There's more... -- Input string parsing -- Interaction via the cmd module -- See also -- Debugging with "format".format_map(vars()) -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Using argparse to get command-line input -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Using cmd for creating command-line applications -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Using the OS environment settings -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Chapter 6: Basics of Classes and Objects -- Introduction -- Using a class to encapsulate data and processing -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Designing classes with lots of processing -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Designing classes with little unique processing -- Getting ready -- How to do it... -- Stateless objects -- Stateful objects with a new class -- Stateful objects using an existing class -- How it works... -- There's more... -- See also -- Optimizing small objects with __slots__ -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Using more sophisticated collections -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Extending a collection -- a list that does statistics -- Getting ready. | |
520 | 8 | |a The latest in modern Python recipes for the busy modern programmer About This Book • Develop succinct, expressive programs in Python • Learn the best practices and common idioms through carefully explained and structured recipes • Discover new ways to apply Python for the new age of development Who This Book Is For The book is for web developers, programmers, enterprise programmers, engineers, big data scientist, and so on. If you are a beginner, Python Cookbook will get you started. If you are experienced, it will expand your knowledge base. A basic knowledge of programming would help. What You Will Learn • See the intricate details of the Python syntax and how to use it to your advantage • Improve your code readability through functions in Python • Manipulate data effectively using built-in data structures • Get acquainted with advanced programming techniques in Python • Equip yourself with functional and statistical programming features • Write proper tests to be sure a program works as advertised • Integrate application software using Python In Detail Python is the preferred choice of developers, engineers, data scientists, and hobbyists everywhere. It is a great scripting language that can power your applications and provide great speed, safety, and scalability. By exposing Python as a series of simple recipes, you can gain insight into specific language features in a particular context. Having a tangible context helps make the language or standard library feature easier to understand. This book comes with over 100 recipes on the latest version of Python. The recipes will benefit everyone ranging from beginner to an expert. The book is broken down into 13 chapters that build from simple language concepts to more complex applications of the language. The recipes will touch upon all the necessary Python concepts related to data structures, OOP, functional programming, as well as statistical programming. You will get acquainted with the nuances of Python syntax and how to effectively use the advantages that it offers. You will end the book equipped with the knowledge of testing, web services, and configuration and application integration tips and tricks. The recipes take a problem-solution approach to resolve issues commonly faced by Python programmers across the globe. You will be armed with the knowledge of creating applications with flexible logging, powerful configuration, and command-line options, automated unit tests, and good documentation. Style and approach This book takes a recipe-based approach, where each recipe addresses specific problems and issues. The recipes provide discussions and insights and an explanation of the problems. | |
590 | |a O'Reilly |b O'Reilly Online Learning: Academic/Public Library Edition | ||
590 | |a eBooks on EBSCOhost |b EBSCO eBook Subscription Academic Collection - Worldwide | ||
650 | 0 | |a Python (Computer program language) | |
650 | 6 | |a Python (Langage de programmation) | |
650 | 7 | |a COMPUTERS / Programming Languages / Python |2 bisacsh | |
650 | 7 | |a Python (Computer program language) |2 fast | |
776 | 0 | 8 | |c Original |z 1786469251 |z 9781786469250 |w (OCoLC)949751141 |
856 | 4 | 0 | |u https://learning.oreilly.com/library/view/~/9781786469250/?ar |z Texto completo |
856 | 4 | 0 | |u https://ebsco.uam.elogim.com/login.aspx?direct=true&scope=site&db=nlebk&AN=1430763 |z Texto completo |
938 | |a Askews and Holts Library Services |b ASKH |n AH30656517 | ||
938 | |a ProQuest MyiLibrary Digital eBook Collection |b IDEB |n cis34562610 | ||
938 | |a YBP Library Services |b YANK |n 13287995 | ||
938 | |a EBSCOhost |b EBSC |n 1430763 | ||
994 | |a 92 |b IZTAP |