import subprocess subprocess.run("Your command here")
#to write something in the console just type print() #like this: print("Hello World!")
print(ord('Z'))