Menu Driven Python program for opening the required software Application
In this article, we will create a menu-driven Python program which will execute the required user tool when user will give the input as a text.
We can interact to OS through GUI (graphical user interface) and CLI (command line interface). We can also give the instructions to OS through programming language. In this program, you can instruct to OS using Python. This program gives the idea of how can we make a rule-based ChatBot.
Attention geek! Strengthen your foundations with the Python Programming Foundation Course and learn the basics.
To begin with, your interview preparations Enhance your Data Structures concepts with the Python DS Course. And to begin with your Machine Learning Journey, join the Machine Learning - Basic Level Course
Return : On Unix, the return value is the exit status of the process and on Windows, the return value is the value returned by the system shell after running command.
Let’s see the implementation: