raw_input() was removed from Python on 1/1/2020

This commit is contained in:
Christian Clauss 2020-09-07 09:59:05 +02:00 committed by GitHub
parent 1a529a2fac
commit 3f7e56549e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,6 +6,11 @@ import platform
import os
import time
try:
raw_input
except NameError:
raw_input = input
def banner():
if platform.system().lower()=="windows":
os.system("cls")