Create plainpartitions.py