Skip to content
Sign UpLog In
This post is read-only. Explore Repls and connect with other creators on Community.View Community
The info in this post might be out of date, check out our docs instead. View docs
3

How to clear screen in Python? os.system not working?

JonathanBaker
JonathanBaker

If you have a moment and could point me in the right direction. Thanks!

Cannot infer image mime type

4 years ago

Voters

Comments

TopNew
1
REALTheo_tcd
REALTheo_tcd

import replit
replit.clear()

4 years ago
1
amasad
amasad

FYI: we're fixing this so you don't have to use replit.clear(). Coming very soon.

4 years ago
1
21natzil
21natzil

On replit, you can import the replit module and use it's clear command.

import replit replit.clear()
4 years ago
1
JonathanBaker
JonathanBaker

@21natzil
thanks!

4 years ago
Load more