measures.py