O'Reilly logo

Sams Teach Yourself Python Programming for Raspberry Pi in 24 Hours, Second Edition by Christine Bresnahan, Richard Blum

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Hour 11. Using Files

What You’ll Learn in This Hour:

Image File types that Python can handle

Image How to open a file

Image Reading a file’s data

Image Writing data to a file

Storing strings, lists, dictionaries, and so on in memory is fine for small amounts of data. However, when handling large data amounts, it’s better to store the data in files. In this hour, we explore ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required