Cómo abrir CMD en tamaño específico usando Python

import os
os.system('mode con: cols=100 lines=40')
input("Press any key to continue...")
Good Goat