Python programs used by Gervaislab