ndlarsen <[EMAIL PROTECTED]> writes:

> Hey.
>
> This might seem as a arbitrary question to some. Anyway, I'm wondering
> how I go about printing text to the end of a line in a
> terminal/console. I've been googling it for a few days without any
> success. Any suggestions will be greatly appreciated.
>
> Regards ndlarsen

Assuming by "end of a line" you mean "right-hand edge of the window",
there's an example here:

http://codespeak.net/svn/user/jjlee/rudolf/trunk/colorwatch.py


Another alternative would be to use curses.


John
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to