More auto_partition.py work done.