title: Passing a string variable to glob
body: <p>I'm trying to pass a directory to glob which will be read to a variable from a config file. </p>
  
  <p>If I just do this it works fine: </p>
  
  <pre><code>path = '//Server/Company/Official Documents/**/*.pdf'
  Files = glob.glob(path,recursive=True)
  </code></pre>
  
  <p>But if I try to do this I get an empty list: </p>
  
  <pre><code>path = Config[1][1]
  Files = glob.glob('{path}**/*.pdf'.format(path=path),recursive=True)
  </code></pre>
  
  <p>For information, </p>
  
  <pre><code>print(Config [1][1])
  </code></pre>
  
  <p>gives this </p>
  
  <pre><code>'//Server/Company/Official Documents/'
  </code></pre>