Skip to content

Latest commit

 

History

History
9 lines (8 loc) · 564 Bytes

File metadata and controls

9 lines (8 loc) · 564 Bytes

language basics

Here we collect code snippets for illustrations and tesing of Python language specifs.

For the moment, we have:

  • properties.py : examples for the use of properties ("computed attributes", in classes) and @property decorators
  • persistent_data.py : In a nutshell, this is about how to store data that you have computed in Python for use in subsequent sessions. -- Obviously, by saving it to some storage medium in various possible formats, using various possible packages: json, pickle, shelf, ...