Pre Processing In Python Example Code