how to do draw pattern with python?

Ismael Farfán sulfurfff at gmail.com
Fri Sep 21 12:50:35 EDT 2012


2012/9/21 Peter Otten <__peter__ at web.de>:
> echo.hping at gmail.com wrote:
>
>     print "\x1b[2J\x1b[0;0H" # optional

Nice code : )

Could you dissect that weird string for us?

It isn't returning the cursor to (0,0), it's just like executing
clear(1), and looks like those line coloring scape sequences for bash.

Ismael


-- 
Do not let me induce you to satisfy my curiosity, from an expectation,
that I shall gratify yours. What I may judge proper to conceal, does
not concern myself alone.



More information about the Python-list mailing list