Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Re: Goto XY

Thread Tools

Re: Goto XY

Jean-Paul Calderone
Posts: n/a
On 8 Nov 2005 17:27:24 -0800, Removed) wrote:
>Is there some command in python so that I can read a key's input and
>then use a gotoxy() function to move the cursor on screen? e.g.:
>When the right arrow is pushed, cursor gotoxy(x+1,y)

You can uses curses for this, on platforms where curses is supported. Twisted Conch also includes some terminal manipulation code. Both are basically POSIX-only, though Twisted might expand to work with win32 at some point. At some point in the past I think there was a win32 curses port, but I don't think it's maintained anymore.

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
VHDL Goto statement ? Skybuck Flying VHDL 9 08-26-2005 01:46 PM
Re: VHDL Goto statement ? Skybuck Flying VHDL 0 08-08-2005 03:21 AM
where does Console.WriteLine() goto in a web app? Flip ASP .Net 1 04-14-2005 08:01 PM
where does Console.WriteLine() goto? Flip ASP .Net 6 11-18-2004 06:05 PM
goto statement is recommened in systemc? youngsun park VHDL 2 11-18-2003 03:47 PM