0

I am trying to make a stopwatch where I use os to clear the terminal for the ticking numbers, but os.system('cls') does not work on idle or on mac. Are there any alternatives I can use? I usually use repl because I am doing this for class.

1 Answers1

0

os.system('clear') is the alternative for macOS and repl, however on repl you could also import replit and then call replit.clear() to clear the terminal.

Jack Morgan
  • 317
  • 1
  • 14