I have a program created that opens a program and execute it as well.
filename = raw_input('Input a valid NAPS filename -> ') execfile(filename)
I put my file helloworld.naps (my file extension)
And it execute smoothly.
Now my question is, how to verify the user input if there is a .naps file extension in their file.
If they have not, then there will be an error that displays 'You have entered an invalid filename'. I got the logic but I dunno how to code it.