Drop the import and exec the filename. You need the .py extension with this method and it will run any if __name__ == '__main__'
section:
filename = raw_input("Please enter the name of the file: ")
execfile(filename)
If you just want to import it, you need to strip the '.py' and it will not execute an if __name__ == '__main__'
section:
filename = raw_input("Please enter the name of the file: ").split(".")[0]
module = __import__(filename)