Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Modern Python Standard Library Cookbook

You're reading from   Modern Python Standard Library Cookbook Over 100 recipes to fully leverage the features of the standard library in Python

Arrow left icon
Product type Paperback
Published in Aug 2018
Publisher Packt
ISBN-13 9781788830829
Length 366 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
 Molina Molina
Author Profile Icon Molina
Molina
Arrow right icon
View More author details
Toc

Table of Contents (21) Chapters Close

Title Page
Copyright and Credits
Packt Upsell
Contributors
Preface
1. Containers and Data Structures FREE CHAPTER 2. Text Management 3. Command Line 4. Filesystem and Directories 5. Date and Time 6. Read/Write Data 7. Algorithms 8. Cryptography 9. Concurrency 10. Networking 11. Web Development 12. Multimedia 13. Graphical User Interfaces 14. Development Tools 1. Other Books You May Enjoy Index

Index

A

  • accumulation / Accumulating and reducing, There's more...
  • alerts
    • creating / Alerts, How to do it..., How it works...
  • arguments
    • parsing / Parsing arguments, How to do it..., How it works..., There's more...
  • AsyncIO
    • about / AsyncIO
    • using / How to do it..., How it works...
  • audio
    • playing / Playing audio/video/images, How it works...

B

  • behavior-driver development (BDD) / Testing
  • benchmarking / Benchmarking, There's more...
  • binary data
    • reading / Reading and writing binary data, How to do it..., How it works..., There's more...
    • writing / Reading and writing binary data, How to do it..., How it works..., There's more...
  • Bunch
    • about / Bunch
    • implementation / Bunch, How it works..., There's more...

C

  • code
    • evaluation / Code evaluation, How to do it...
    • tracing / Tracing code, How to do it..., How it works...
  • combinations
    • producing / Producing permutations and combinations, How to do it...
  • configuration files
    • reading / Reading configuration files, How to do it..., How it works..., There's more...
  • context managers / Context managers, How to do it...
  • cookies
    • handling / Handling cookies, How to do it..., How it works...
  • coroutines
    • about / Coroutines
    • implementing / How to do it..., How it works..., There's more...
  • CSV
    • reading / Reading and writing CSV, How to do it..., There's more...
    • writing / Reading and writing CSV, How to do it..., There's more...

D

  • data
    • sharing, between processes / Sharing data between processes, How to do it..., How it works..., There's more...
  • database
    • reading / Reading/writing a database, How to do it..., How it works..., There's more...
    • writing / Reading/writing a database, How to do it..., How it works..., There's more...
  • dates
    • parsing / Parsing dates, How to do it..., There's more...
    • saving / Saving dates, How to do it..., How it works...
    • displaying, in user format / Displaying dates in user format, How to do it..., How it works..., There's more...
    • moving, to tomorrow / Going to tomorrow, How to do it..., How it works...
    • moving, to next month / Going to next month, How to do it..., How it works...
    • matching, for requested weekdays / Weekdays, How it works...
    • and times, combining / Combining dates and times, There's more...
  • datetimes
    • timestamps, converting to / From timestamps to datetimes, There's more...
  • debugging
    • about / Debugging, How it works...
  • decorators
    • about / Proper decoration
    • implementing / How to do it..., There's more...
  • dialog boxes
    • about / Dialog boxes
    • creating / How to do it..., How it works...
  • dictionary
    • with fallback / Dictionary with fallback, How to do it..., How it works..., There's more...
  • directory
    • copying / Copying a directory, How to do it..., How it works...
    • zipping / Zipping a directory, How to do it..., How it works...
  • disk buffer
    • using / Memory and disk buffer, How it works...

E

  • emails
    • sending / Sending emails, How to do it..., How it works...
    • fetching / Fetching emails, How to do it..., How it works..., There's more...
  • entries
    • prioritizing / Prioritizing entries, How it works..., There's more...
  • enumeration
    • about / Enumerations
    • implementing / How to do it..., How it works..., There's more...
  • errors
    • reporting, in production / Reporting errors in production, How it works...
  • event loop / How it works...

F

  • file
    • logging / Logging to file, How it works...
    • content, replacing / Safely replacing file's content, How to do it..., How it works...
    • integrity, verifying / Verifying a file's integrity, How to do it..., How it works...
    • handling / Handling forms and files, How it works...
    • type, determining / Determining the type of a file, How it works...
  • file information
    • obtaining / Getting file information, How to do it...
  • filename encoding
    • managing / Managing filename encoding, How it works...
  • filenames
    • expanding / Expanding filenames, How to do it...
  • filter / Searching, sorting, filtering, How to do it..., There's more...
  • folders
    • traversing / Traversing folders, How it works...
  • forms
    • submitting, to HTTP / Submitting forms to HTTP, How to do it..., How it works..., There's more...
    • handling / Handling forms and files, How it works...
  • frequencies
    • counting / Counting frequencies, How to do it..., How it works..., There's more...
  • FTP
    • about / FTP
    • using / FTP, How to do it..., How it works..., There's more...
  • Future
    • about / Futures
    • executing / How to do it..., How it works..., There's more...

G

  • generic functions / Generic functions, How to do it..., How it works...
  • Global Interpreter Lock (GLI) / ThreadPools
  • graphical user interface (GUI) / Introduction

H

  • HMAC algorithm
    • about / Verifying a message's integrity
    • reference / Verifying a message's integrity
  • HTML
    • building / Building HTML, How to do it..., How it works...
  • HTTP
    • consuming / Consuming HTTP, How to do it..., How it works..., There's more...
    • forms, submitting / Submitting forms to HTTP, How to do it..., How it works..., There's more...
    • serving / Serving HTTP, How to do it..., How it works..., There's more...

I

  • images
    • playing / Playing audio/video/images, How it works...
  • image sizes
    • detecting / Detecting image sizes, How to do it..., How it works...
  • image types
    • detecting / Detecting image types, How to do it..., There's more...
  • input box
    • about / Input box
    • creating / Input box, How to do it..., How it works...
  • inspection / Inspection, How it works...
  • inspect module / There's more...
  • interactive shells
    • starting / Interactive shells, How to do it..., How it works...

J

  • JSON
    • treating / Treating JSON, How to do it..., How it works..., There's more...

L

  • least recently used (LRU) / How it works...
  • list of lists
    • flattening / Flattening a list of lists, How it works..., There's more...
  • lists
    • about / Lists
    • creating / Lists, How to do it..., How it works...
  • logging
    • implementing / Basic logging, How it works..., There's more...
    • to file / Logging to file, How it works...
    • to syslog / Logging to Syslog, How to do it..., There's more...

M

  • memoizing / How to do it..., How it works...
  • memory
    • managing / Memory and disk buffer, How it works...
  • menus
    • creating / Menus, How to do it..., How it works...
    • about / Menus
  • message
    • integrity, verifying / Verifying a message's integrity, How to do it..., How it works...
  • message boxes
    • about / Message boxes
    • displaying / Message boxes, How to do it..., How it works...
  • mocking / Mocking, How it works...
  • MultiDict
    • about / MultiDict, There's more...
    • using / MultiDict, There's more...
  • multiple keyword arguments
    • unpacking / Unpacking multiple keyword arguments, How to do it..., There's more...

N

  • named temporary files
    • creating / Named temporary files, How to do it...
  • nano / Input box
  • nth element
    • obtaining, of iterable / Getting the nth element of any iterable, How it works...

O

  • operator module
    • functions / Operators to functions, How to do it..., How it works...
    • about / Operators to functions, How to do it..., How it works...
  • ordered dictionaries
    • using / Ordered dictionaries, How to do it..., How it works...

P

  • partials
    • about / Partials
    • using / Partials, How it works...
  • passwords
    • prompting for / Asking for passwords, How it works...
    • hashing / Hashing passwords, How to do it..., How it works...
  • paths
    • building / Working with paths, How to do it..., There's more...
  • pattern matching
    • implementing / Pattern matching, How to do it..., There's more...
  • pdb debugger
    • about / Debugging
    • next command / How it works...
    • continue command / How it works...
    • list command / How it works...
  • permutations
    • producing / Producing permutations and combinations, How to do it...
  • pickling / Pickling and shelving, How to do it..., How it works..., There's more...
  • processes
    • managing / Processes, How to do it..., How it works..., There's more...
    • data, sharing between / Sharing data between processes, How to do it..., How it works..., There's more...
  • production
    • errors, reporting / Reporting errors in production, How it works...
  • profiling / Profiling, How to do it..., How it works...
  • progress bar
    • about / Progress bar
    • displaying / How to do it..., How it works...
  • ProgressBar dialog
    • about / ProgressBar dialog
    • creating / How to do it..., How it works...
  • Python Package Index (PyPI) / How to do it...

R

  • reduction / Accumulating and reducing, There's more...
  • remote procedure calls (RPC)
    • about / Remote procedure calls
    • creating / Remote procedure calls, How to do it..., How it works..., There's more...
  • REST API
    • about / REST API
    • implementing / REST API, How to do it..., How it works...

S

  • scheduled tasks
    • about / Scheduled tasks
    • managing / Scheduled tasks, How to do it..., How it works...
  • search / Searching, sorting, filtering, How to do it..., There's more...
  • shelving / Pickling and shelving, How to do it..., How it works..., There's more...
  • similar items
    • grouping / Grouping similar items, How it works...
  • sockets
    • about / Sockets
    • using / How to do it..., How it works...
  • sort / Searching, sorting, filtering, How to do it..., There's more...
  • start of image (SOI) / How it works...
  • static files
    • serving / Serving static files, How to do it..., There's more...
  • strings
    • splitting / Splitting strings and preserving spaces, How it works...
    • spaces, preserving / Splitting strings and preserving spaces, How it works...
  • syslog
    • logging / Logging to Syslog, How to do it..., There's more...
  • system commands
    • executing / Running system commands, How to do it..., How it works..., There's more...

T

  • templating / Templating, How to do it..., How it works..., There's more...
  • terminal text
    • sizing / Sizing terminal text, How to do it..., How it works...
  • tests
    • writing / Testing, How to do it...
  • text
    • cleaning up / Cleanup text, How it works...
    • normalizing / Normalizing text, How it works...
    • aligning / Aligning text, How to do it..., How it works...
    • lines, reading / Reading lines of text, How it works...
  • text data
    • reading / Reading and writing text data, How it works..., There's more...
    • writing / Reading and writing text data, How it works..., There's more...
  • text similarity
    • detecting / Text similarity, How to do it..., There's more...
  • text suggestion
    • computing / Text suggestion, How to do it...
  • ThreadPools
    • about / ThreadPools
    • implementing / How to do it..., How it works..., There's more...
    • components / How it works...
  • time-zone-aware datetime
    • using / Time-zone-aware datetime, How to do it..., How it works...
  • times
    • and dates, combining / Combining dates and times, There's more...
  • timestamps
    • about / From timestamps to datetimes
    • converting, to datetimes / How to do it..., There's more...
  • trace module / Tracing code

U

  • unittest module / There's more...
  • URLs
    • parsing / Parsing URLs, How to do it..., There's more...
  • user format
    • dates, displaying / Displaying dates in user format, How to do it..., How it works..., There's more...

V

  • variable context managers
    • applying / Applying variable context managers, How to do it...
  • video
    • playing / Playing audio/video/images, How it works...
  • vim / Input box

W

  • web applications
    • errors, handling / Errors in web applications, How to do it..., How it works..., There's more...
  • weekdays
    • dates, matching / Weekdays, How it works...
  • workdays
    • computing / Workdays, How to do it...

X

  • XML/HTML content
    • writing / Writing XML/HTML content, How to do it..., How it works..., There's more...
    • reading / Reading XML/HTML content, How to do it..., How it works..., There's more...

Z

  • zipping / Zipping, How it works...
lock icon The rest of the chapter is locked
arrow left Previous Section
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at £13.99/month. Cancel anytime
Visually different images