python console command code example
Example 1: execute command in python script
import os
os.system("ma Commande")
#Exemple:
os.system("cd Documents")
Example 2: how to write something in the pyton console
#to write something in the console just type print()
#like this:
print("Hello World!")
Example 3: python execute shell command
python3 yourcode.py
or
python yourcode.py