What is the proper way to take a directory path as user input?
Below is a snippet of code I am trying to use to take a directory path as "raw input" from the user. I receive the following error after the input is taken from the user: Traceback (most recent call last): File "C:\Users\larece.johnson\Desktop\Python Programs\Hello World 2", line 14, in <module> f = open(str,"r+") #I open the text file here which the user gave me IOError: [Errno 2] No such file or directory: 'C:/Users/larece.johnson/Desktop/Python Programs/BostonLog.log.2014-04-01' Ignoring what I have done below, is there a particular way I am supposed to take the path from user so that