MySPAMBot-OTP
MySPAMBot-OTP copied to clipboard
sh: cls: inaccessible or not found
sh: cls: inaccessible or not found knapa bng?
setelah saya check sepertinya itu error karena command os.system('cls') tidak compatible sama Bash di Linux atau MacOSX

ini gan solutionnya
jadi command os.system('cls') diganti os.system('clear') dicodingan.
thx
jika saat diganti command os.system('cls') diganti os.system('clear') dicodingan masih seperti ini

ya hapus aja command os.system('clear') nya, tidak mempengaruhi toolsnya kok gan. itu cuman command untuk membersihkan keluaran yang dihasilkan sebelumnya.
saya tidak terlalu familiar sama Linux habisnya hehe. anyway thx ya
from sys import platform if platform == "linux" or platform == "linux2": # linux elif platform == "darwin": # OS X elif platform == "win32": # Windows...