• raspberry pi
  • National Centre for Computing Education logo

Programming 103: Saving and Structuring Data

Learn how to save and structure data in external files, and import files back into your Python programs. Supported by Google.

9,052 enrolled on this course

Programming 103: Saving and Structuring Data
The CPD Certification Service

This course has been certified by the CPD Certification Service as conforming to continuing professional development principles. Find out more.

This course is part of the Start Programming with Python program, which will enable you to in these three short courses you’ll discover how to start programming using Python..

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.

Download video: standard or HD

Syllabus

  • Week 1

    Persistent Data

    • Welcome to the course

      Welcome to Programme 103: Saving and Structuring Data!

    • Reading and writing to files

      Learn about reading and writing to files.

    • Creating a high score for a game

      Learn how data persistence is key to many different applications.

    • End of Week 1

      Congratulations on completing Week 1 of the course!

  • Week 2

    Structuring data

    • Welcome to Week 2

      Welcome to Week 2!

    • Structuring Data

      Learn how to structure data.

    • Structuring data and persisting

      Learn more about structuring data and persisting.

  • Week 3

    Interacting with databases

    • Welcome to Week 3

      Welcome to your third week of Programming 103: Saving and Structuring Data!

    • Python and databases

      Learn more about Python and databases

    • Make a battle card game

      Learn how to make your own battle card game.

Who is this accredited by?

The CPD Certification Service
The CPD Certification Service:

The CPD Certification Service was established in 1996 and is the leading independent CPD accreditation institution operating across industry sectors to complement the CPD policies of professional and academic bodies.

When would you like to start?

Start straight away and learn at your own pace. If the course hasn’t started yet you’ll see the future date listed below.

  • Available now

What will you achieve?

By the end of the course, you‘ll be able to...

  • 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

Who is the course for?

This course is designed for those who have a little Python experience and are comfortable using functions with parameters–as covered in our Programming 102 course. Please note: screengrabs and recorded screencasts are key elements of this course.

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?

Raspberry Pi Foundation

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.

National Centre for Computing Education

National Centre for Computing Education courses

Supporters

supported by

Google logo

Learner reviews

Join this course

Start this course for free, upgrade for extra benefits, or buy Unlimited to access this course and hundreds of other short courses for a year.

Free
$0

Join free and you will get:

  • Access to this course for 5 weeks

Upgrade
$44

Upgrade this course and you will get:

  • Access to this course for as long as it’s on FutureLearn
  • A print and digital Certificate of Achievement once you’re eligible

Unlimited (New!)
$279.99 for one year

Buy Unlimited and you will get:

  • Access to this course, and hundreds of other FutureLearn short courses and tests for a year
  • A printable digital Certificate of Achievement on all short courses once you’re eligible
  • The freedom to keep access to any course you've achieved a digital Certificate of Achievement on, for as long as the course exists on FutureLearn
  • The flexibility to complete your choice of short courses in your own time within the year
Find out more about upgrades or Unlimited.