Skip to Content
Modern Python Cookbook - Second Edition
book

Modern Python Cookbook - Second Edition

by Steven F. Lott
July 2020
Beginner to intermediate
822 pages
20h 28m
English
Packt Publishing
Content preview from Modern Python Cookbook - Second Edition

10

Input/Output, Physical Format, and Logical Layout

Computing often works with persistent data. There may be source data to be analyzed, or output to be created using Python input and output operations. The map of the dungeon that's explored in a game is data that will be input to the game application. Images, sounds, and movies are data output by some applications and input by other applications. Even a request through a network will involve input and output operations. The common aspect to all of these is the concept of a file of data. The term file is overloaded with many meanings:

  • The operating system (OS) uses a file as a way to organize bytes of data on a device. All of the wildly different kinds of content are reduced to a collection ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Python Cookbook

Python Cookbook

Alex Martelli, David Ascher
Python Cookbook, 3rd Edition

Python Cookbook, 3rd Edition

David Beazley, Brian K. Jones

Publisher Resources

ISBN: 9781800207455Supplemental Content