0

This code won't work for me:

import os

print('cls method')
os.system('cls' if os.name == 'nt' else 'clear')

print('chr method')
print(chr(27) + "[2J")

Output:

(pasting the log directly deletes "|?|")

cls method
|?|chr method
braX
  • 11,506
  • 5
  • 20
  • 33
MBee
  • 78
  • 7

1 Answers1

-1

bro you just need to type in python console:-

import os
os.system('cls')