Batch convert python script