Abstract
Files are used for permanent storage of information on a computer. From previous computer experience you are hopefully used to save information to files and open the files at a later time for inspection again. The present chapter tells you how Python programs can access information in files (Chapter 6.1) and also create new files (Chapter 6.5). The chapter builds on programming concepts introduced in the first four chapters of this book.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2009 Springer-Verlag Berlin Heidelberg
About this chapter
Cite this chapter
(2009). Files, Strings, and Dictionaries. In: A Primer on Scientific Programming with Python. Texts in Computational Science and Engineering, vol 6. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-02475-7_6
Download citation
DOI: https://doi.org/10.1007/978-3-642-02475-7_6
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-02474-0
Online ISBN: 978-3-642-02475-7
eBook Packages: Mathematics and StatisticsMathematics and Statistics (R0)