Every topic starts at New. Sign in and your practice counts.
Python programs keep working values in lists and dictionaries, preserve data in files and databases, and present it through graphical interfaces.
This topic shows how Python constructs connect general ways of organizing code to practical tools for data, files, databases and interaction.
While a program runs it needs memory for values it can change and look up. After it closes it needs storage on disk, and throughout it needs a way for people to enter and see results.
Lists and dictionaries hold and look up values in memory, files keep data on disk for later use, and databases organize larger sets of records for storage and retrieval. Graphical user interfaces then let a user work with stored values through windows, entries and buttons rather than typed commands alone.