Merge Command In Python