<div>You can use the function system() of the os module.</div>
<div>os.system('clear') in Unix or in Windows os.system('clear')<br clear="all"><br>-- <br>Edgar A. Rodriguez V. </div>