Python scripts used in research