You're more likely to get help if you follow the posting guidelines for this forum, including but not limited to using code tags, showing effort, and providing simple examples of reproducible errors.
After skimming over your crazy long post I'll give you an example of asking the user for input and using it to open a file:
import os
usr_path = raw_input( 'Please provide the path of the file: ' )
if os.path.exists( usr_path ): # Check for file existing
f = open( usr_path ) # Open for reading
lines = f.readlines() # Read in the contents
f.close() # Close the file
else:
print 'File does not exist'
HTH