Os Module in Python

How to Open Multiple Software Using Python OS Module 0

How to Open Multiple Software Using Python OS Module

Program 1 import os choice=0 while(choice!=8): print(“——————–Menu——————–“) print(“1.NotePad\n2.Calculator\n3.MS Word\n4.MS Excel\n5.MS Paint\n6.Power Point\n7.Notepad++\n8.Exit”) print(“———————————————“) choice=int(input(“Enter your choice”)) if(choice==1): os.system(“notepad”) elif (choice==2): os.system(“calc”) elif (choice==3): os.system(“start winword.exe”) elif (choice==4): os.system(“start excel.exe”) elif(choice==5): os.system(“mspaint”) elif (choice==6): os.system(“start...