#IT-04-32 Programming: Saving and Structuring Data
About CourseRaspberry Pi Foundation
Discover how to save data to use it across multiple runs of your program
On this course, you will learn how to save text and binary files, and how to structure data so that programs can interpret it correctly.
You will explore various common types of structured files, including CSV and JSON, and also find out how to connect to a SQL database to use it in your Python programs.
Who will you learn with?
Eirini is a Learning Manager at Raspberry Pi. An ex-teacher and marketing person, she cares about getting more girls into Computing. She loves the outdoors; dancing, swimming and walking in nature.
Who developed the course?
The Raspberry Pi Foundation works to put the power of digital making into the hands of people all over the world, so they are capable of understanding and shaping our increasingly digital world.
What Will I Learn?
- Demonstrate how to use Python to store and retrieve persistent data
- Describe the importance of data persistence and where it is used
- Compare different types of structured data
- Modify a program to store data in a JSON file
- Perform operations on a database using SQL statements
Topics for this course
Welcome to the course
Welcome to the course VIDEO (01:36)00:01:36
Meet the team and your fellow learners ARTICLE
What you need ARTICLE
Reading and writing to files
Writing to a file VIDEO (06:21)00:06:21
Reading from a file ARTICLE
Text files and binary files ARTICLE
Creating a high score for a game
Creating a game with a scoring mechanism VIDEO (03:23)00:03:23
Data Persistence ARTICLE
Saving a high score ARTICLE
Exception handling ARTICLE
Storing a table of high scores ARTICLE
End of Lesson
External modules/libraries/packages ARTICLE
Summary VIDEO (00:40)00:00:40
I like this course, because Programming 103 gave more knowledge. I will take all knowledge to teaching my students.