Ask coding questions

← Back to all posts
Clear
dfnk

How to you clear screen in python without using the repl.it module?

Answered by VulcanWM [earned 5 cycles]
View Answer
Voters
MANAV0201
dfnk
Comments
hotnewtop
VulcanWM

You can try this:

dfnk

@medcho thank you

VulcanWM

Your welcome @dfnk

dfnk

@medcho Thank you again =)

VulcanWM

Your welcome again :)@dfnk

dfnk
CodeLongAndPros

Use ANSI:

print("\033[2J\033[H")

[deleted]

Print 100 newline characters.

print("\n" * 100)

SixBeeps

@malvoliothegood why have you done this to me

CodeLongAndPros

@malvoliothegood

Just try it until it works

...