partitions.py