Abstract
In every program that we have talked about so far, when the program ends, the computer forgets everything that happened in the program. Every variable you created, every string you used, every Boolean, every list—it’s all gone. But what if you want to keep some of the data that you generate in a program, and save it for when you run the program later? Or, maybe you want to save some data so that a different program could use the data that you generated.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2016 Irv Kalb
About this chapter
Cite this chapter
Kalb, I. (2016). File Input/Output. In: Learn to Program with Python. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-2172-3_9
Download citation
DOI: https://doi.org/10.1007/978-1-4842-2172-3_9
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-1868-6
Online ISBN: 978-1-4842-2172-3
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)