Skip to content

Latest commit

 

History

History

language_basics

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

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, ...