1import os
2
3os.system("ma Commande")
4
5#Exemple:
6
7os.system("cd Documents")
1# Save the script in a file with .py extension
2# run the script using the below command
3python fileName.py
1>>> print('Hello World!')
2
3>>> 2 + 5
47
5>>> print('Welcome to Real Python!')
6Welcome to Real Python!
7