cleanliness
cleaned up python conversion code for lists