Batch Processing In Python Example