12 Database: We need good storage

In this chapter

  • Simon proposes a separate folder for the application
  • Erik and Emily move the application files to the new folder structure
  • Erik reuses the functions for reading text files
  • Erik and Emily learn about databases
  • Simon helps Emily and Erik change the application to use a database

“Let’s make our project a bit more serious,” Simon said when the friends met the next time.

“Yesterday, you said something about a database,” Erik said. “Is that what you mean?”

“Yes, that too,” Simon answered. “But first, I suggest we make changes in our folder structure. Let’s organize our files. Look at our files and folders.”

He took a piece of paper and started drawing and explaining.

“When we started with the Mu editor, ...

Get A Pythonic Adventure now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.