[Tutor] check the terminal keyword

ANKUR AGGARWAL coolankur2006 at gmail.com
Sat Aug 21 15:07:52 CEST 2010


i m making a app in which i launch application using os.system("input from
user"). I want to check whether the input entered by the user matches with
the exact keyword in terminal or not.
like i want to launch vlc so user should provide me input as " vlc" in order
to launch the app just like he did from terminal. I want to make a check on
the input spell so that if he type "wlc" it shows an error to it. I have an
little idea abt sys.agrv but don't know how to use it... Plz help me guys.
Thanks in advance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20100821/007cd18a/attachment.html>


More information about the Tutor mailing list