title: How to change terminal window size on mac with command
body: <p>I'm tring to change terminal window size on mac with python.
  Python has os.command function.
  For example, on windows ,can change the command line window size with following code .</p>
  
  <pre><code>os.system('mode con: cols=100 lines=50) 
  </code></pre>
  
  <p>Is there any way similar as this on mac?</p>