O'Reilly logo

Python Programming for Raspberry Pi, Sams Teach Yourself in 24 Hours 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 Python scripts. However, when writing large scripts, you need to store the data in files. In this hour, you will 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