title: Assigning a variable the file path from a user input Python 2.7
body: <p>I have a rather large script where I have set a few different files with direct paths. An example would be:</p>
  
  <pre><code>path1 = "C:/temp/"
  path2 = "C:/users/&lt;username&gt;/My Documents/test.txt"
  </code></pre>
  
  <p>Essentially, I would like to set these variables to the file and/or folder path based on a user input. Is it possible to make the user browse to a location and then take that input path and place it into a variable?</p>
  
  <p>Thanks</p>