Re: Python Clearing the Screen and Setting Position

  • From: Jamal Mazrui <empower@xxxxxxxxx>
  • To: programmingblind@xxxxxxxxxxxxx
  • Date: Sat, 24 Sep 2011 10:57:20 -0400

import os

os.system('cls')


Jamal


On 9/24/2011 9:43 AM, Rich De Steno wrote:
In reading the various Python tutorials, I cannot find a way to clear
the screen and set the cursor at a specific position on the screen for a
print statement. I was able to do this easily in C with a clear screen
command and the gotoxy command to set the cursor at an X, Y position. Is
there a way to do this in Python?

__________
View the list's information and change your settings at //www.freelists.org/list/programmingblind

Other related posts: