Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

resize cmd using python

# Automatically Resize Command Line Window using python
import os
os.system('mode con: cols=100 lines=40')
input("Press any key to continue...")


#for Python 3 
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #resize #cmd #python
ADD COMMENT
Topic
Name
9+2 =