Automatically Clear Printed Output From Terminal Using Python