extension to idle to clear screen
and here I thought I was going to finally be able to change the world
AND contribute back to python with my amazing clear screen extension -
but I can't get it to work. ;(
Copying from ZoomHeight.py and someone else's clever print suggestion:
# My Clear extension: clear a window
menudefs = [
def __init__(self, editwin):
self.editwin = editwin
def clear_event(self, event):
for i in range(...When is clear all not clear all?
Work this out please!
I have a program that crashes every other time it is run. The first
line of the program has a clear all at the top. If I type clear all
in the Workspace every time before I run the program It works every
time!?!?! (I've tried clear import and clear classes after reading
the help file that suggests that CLEAR ALL at the command prompt
also removes the Java packages import list).
Any suggestions why
P.S. the logic behind when it crashes is too complicated to explain -
tried chasing it but involes Simulink - error should be irrelevant,
question is - is cl...Clear screen
I'm using PHP on my Linux box on the command line.
It need to clear the screen, as I would do with the 'clear' command on
the bash. Is there something equivalent in PHP available?
Carved in mystic runes upon the very living rock, the last words of Georg
Weiler of comp.lang.php make plain:
> I'm using PHP on my Linux box on the command line.
> It need to clear the screen, as I would do with the 'clear' command on
> the bash. Is there something equivalent in PHP available?
ereg(":li#([0-9]+):", $TERMCAP, $regs);
are there any other other possibilities to clear the screen (MS-DOS)
then clrscr(turns the background grey) and VT-100 escape (don't do
anything) commands ? Both don't seem to work on my embedded system.
Sebastian Becker wrote:
> are there any other other possibilities to clear the screen (MS-DOS)
> then clrscr(turns the background grey) and VT-100 escape (don't do
> anything) commands ? Both don't seem to work on my embedded system.
> Regards, Sebastian
So, how is the screen represented on your embedded syst...Clear Screen
How do you clear the screen of a plot before or after graphing?
John Ertle Jr. wrote:
> How do you clear the screen of a plot before or after graphing?
...clearing the screen
Can someone tell me how to clear the screen using a pl/sql loop.
I have tried the following but it doesn't work.
How do you clear screen in a Scheme executable? In C++ and Java, there are
various ways of doing so, and I was just wondering if the same can be said
for Scheme. Thanks!
Steven Simmons wrote:
> How do you clear screen in a Scheme executable? In C++ and Java, there are
> various ways of doing so, and I was just wondering if the same can be said
> for Scheme. Thanks!
That depends on your Scheme implementation and libraries, and perhaps
on the system on which you are running the Scheme. If you can provide
these details, you will be far more likely to get a useful answer.
I am having some trouble with clearing screen. I can't find any way to
do this in Fortran.
Documents from http://www.ibiblio.org say that
WRITE(*,*) CHAR(27), '[2J'
statement will clear the screen. But it is not working for me. I used
CALL SYSTEM('cls') or CALL system('clear'); but I dont like the idea.
Is there any other way in Fortran to do that?
Another thing - How can I access printer from a Fortran program?
Rosana Khan <email@example.com> wrote:
> I am having some trouble with clearing screen. I can't fi...clear screen
Is there a way to clear the terminal screen by using Ruby directly?
Instead of using system("clear").
On Apr 26, 2007, at 8:25 AM, Christian wrote:
> Is there a way to clear the terminal screen by using Ruby directly?
> Instead of using system("clear").
Nothing builtin. A lighter approach is to print an ANSI escape
sequence if your terminal understands it:
The following is a hack: I checked, and on my system, "clear" sen...Clear screen
I was just wondering if anyone can tell me how do I get java to clear the
I know there is a cls; command in C but I cant find one for Java.
On Wed, 22 Sep 2004 19:06:12 +1000, Glenn & Jacqui
> I was just wondering if anyone can tell me how do I get java to clear the
> I know there is a cls; command in C but I cant find one for Java.
There is no such function in Java. Java is platform-independant, and
Some platforms might not even have such a function in their librari...Clear the Screen
I have done some research, trying to Clear The Screen in java code.
The first option was the obv:
then i heard about this method:
System.out.print((char)27 + "[2J");
However, it doen't work unless "ansi.sys" is loaded and very few WinXP
user's have this.
Any help appreciated in trying to solve this problem.
It's kind of a hack, but what about this:
This makes your application platform-dependent, but it looks like your
stated ...Clearing the screen
Hi i use IDLE to code Python in my machine. What i haven't been able
to do is call an in-built function called clear()/cls()/clr() because
it mightn't exist. so what i did is coded my own function called cls()
>>> def cls():
for i in range(1,40):
print " ";
now that does the job very nicely and i get cleared screen but what i
really want to achieve it everytime i start IDLE, without importing
any module, i want to be able to do just cls() and be able to clear
the screen. Is that achievable? Does that have mean i have to tinker a
bit with in-builts??
How do I clear the text from my screen, other than a bunch of \n's or
"Tim Mierzejewski" <firstname.lastname@example.org> wrote...
> How do I clear the text from my screen, other than a bunch of \n's or
Please read FAQ 15.20. You can find FAQ
Tim Mierzejewski wrote:
> How do I clear the text from my screen, other than a bunch of \n's or
C++ can not clear the screen, as indicated in the FAQ Victor pointed you to.
However, you can ask the OS to do it for you. ...Clear Screen???
How can i clear the screen in java?
On 11 Sep 2005 19:29:04 -0700, zeus wrote:
> How can i clear the screen in java?
Java is better suited to working within the current
screen environment, rather than clearing it.
What do you intend to happen to the 'task bar' and
other opened programs when this action happens?
physci.org 1point1c.org javasaver.com lensescapes.com athompson.info
"Seen you on Aldebaran, safe on the green desert sand"
The Rolling Stones '2000 Light Years From Home'
Andrew Thompson wrote:
> On 11 Sep 2005 19:29:04 -0700...Clear screen
How would you clearn the screen in a console program???
"NeoPhreak" <email@example.com> wrote in message
> How would you clearn the screen in a console program???
Console control is not Java's strong point. Generally there are three
approaches to this task:
* Use 'System.out.println' to write out enough space characters to
fill the screen [doesn't, however, provide very effective cursor
control :) !]
* If the console suports ANSI escape seque...clear the screen
How to clear the screen? For example, in the two player game. One player se=
ts a number and the second player guesses the number. When the first player=
enters the number, it should be cleared so that the second number is not a=
ble to see it. My question is how to clear the number.
On 04/20/2013 10:45 PM, Yuanyuan Li wrote:
> How to clear the screen? For example, in the two player game. One player sets a number and the second player guesses the number. When the first player enters the number, it should be cleared so that the second number is not able to see it. My quest...clear shell screen
Does anyone know how to clear the shell screen completely ? I tried
import os and then os.system("clear") was said to have worked in Windows
XP, but it's just bringing up another window, then it turns black and
then it closes in within about a second moving the prompt at the
os.system("clear") line . I've also tried os.system("cls") with the
Shawn Minisall <firstname.lastname@example.org> wrote:
>Does anyone know how to clear the shell screen completely ? I tried
>import os and then os.system("clear") was sai...Clearing the output screen
Can anybody tell me if there is a way to clear the output screen. I am
making a basic low level program (just to improve my java skill) and I
am writing a lot of commands like:
System.out.println("There are "+x+" intems in the list");
So I was wondering if there is a way to clear the output screen, just to
make it look neater, or is there a way to clear a line so I can loop a
System.out.println("Processing is "+x+"% complete");
To show what percentage of work has been done.
Thank you kindly for your time
Colin Hemmings <colin....Clearing the REXX display
I would like to know if there's an easy way to clear the REXX display
so that when I start a new script the user will not see any of the
output from the previous script.
...how do i pause then clear screen?
I'm trying to display some text, wait a few seconds, clear the screen, display
Thanks for the answer in advance.
Kenny in Fredericksburg, Va.
> I'm trying to display some text, wait a few seconds, clear the screen,
> display normal html.
> Thanks for the answer in advance.
> Kenny in Fredericksburg, Va.
Try something like this:
function write...how do i clear the whole screen
hi i am new to java, is there any way i can clear the whole screen
before i display the result in jdk1.3.
email@example.com wrote in news:1137401953.150981.299490
> hi i am new to java, is there any way i can clear the whole screen
> before i display the result in jdk1.3.
If you're talking about the console window (that's the black box with white
text, looks like a dos box), look for something like "clear console" in
this group's archive
If you ...Clearing an xterm screen
I am trying to write a routine to clear the screen. Here is what i did
(Copy paste from linuxquestions.org)
I compiled it with gcc along with -lncurses.
But this only works if i boot into the runlevel 3. The same code
doesn't seem to budge in an xterm. The code has no effect on my xterm.
One more thing.
I am developing an application which will look like the pine email
client (Only in the gui perspective). I could manage to display the
key menus and main menu of my applicati...clearing the screen #2
Can someone tell me how to clear the screen using pl/sql.
I have tried the following but to no avail.
for v_counter in 1..30 loop
>Can someone tell me how to clear the screen using pl/sql.
>I have tried the following but to no avail.
>for v_counter in 1..30 loop
It is impossible. It is unnecessary. It is meaningless. Ask someone to
assign you some work. ;-)
(replace 'x' with a 'u' to reply)
> Can someone tell me how to clear the screen using pl/sql.
> I have tried the following but to no avail.
> for v_counter in 1..30 loop
> dbms_output.put_line(' ');
> end loop;
PUT_LINE does a trim and won't output anything if the result is null.
You can force an output by using a non-space character.
Although, it sounds like you're trying to write an application using
SQL*Plus which I'd recommend against. Why exactly do you need this?
> Can someone tell me how to clear the screen u...Clearing the DOS screen?
I have a Visual Basic menu script that I am trying to get to clear the
dos screen it is running in. Basically, you select an option from the
menu, and after the processing is complete, a "press enter to
continue" comes up. When enter is pressed I'd like the DOS screen the
script is running in to clear (and the menu to be displayed again).
Is there any way to do this? I've tried many different things, but I
seem to have trouble actually accessing the cmd process my script is
running in, it always seems to spawn a new process.
Thanks in advance for any help you might provi...