Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python delete the last line of console

print("This message will remain")
print("This message will be deleted", end="
")
#NOTE: If you run it in IDLE by pressing F5, the shell will still display#
#both messages, however, if you run the program by double clicking#
#then the ouput console will delete it!#
 
PREVIOUS NEXT
Tagged: #python #delete #line #console
ADD COMMENT
Topic
Name
6+1 =