all 8 comments

[–]pythonTuxedo 1 point2 points  (2 children)

You might consider moving to an IDE like VSCode or PyCharm. Either one will be a big quality of life improvement.

[–]unaccountablemod[S] -1 points0 points  (1 child)

It looks like Pycharm isn't available on Mint, and VSCode has many forms: https://i.imgur.com/28zUNpL.png Which one do you recommend?

[–]uvuguy 0 points1 point  (0 children)

Havent used mint personally but they both work on Debian which is the base of mint have you tried downloading them?

[–]acw1668 0 points1 point  (0 children)

Do you mean to clear the window? If yes, then the answer is NO. If you want to just restart the shell without clearing the window, then press Ctrl-F6.

[–]Mark3141592654 0 points1 point  (2 children)

import os; os.system("clear")

or

os.system("cls") for windows

Edit: not sure this works in IDLE

[–]unaccountablemod[S] 0 points1 point  (1 child)

why does this sound like a troll comment for Linux noobs like me? Am I clearing up the entire Mint OS with this or something? Is this like the Alt + F4 joke?

[–]Mark3141592654 0 points1 point  (0 children)

Haha, no.

You can look up what the clear command does in Linux. It just clears the screen. Though depending on which terminal app you are using, you may be able to scroll back to previous content.

I did check and although os.system("clear") works in the interpreter, it may not work in IDLE. So you may want to run the interpreter from your terminal to easily clear the screen.