title: How to call a variable in conf file into a python script or file?
body: <p>I have a variable "app_version" in a file release.conf. Using that value I have to download a file from a url using urllib. My python version is 2.6.6. Below is what I have so far:</p>
  
  <p>import os
  import urllib
  from urllib import urlretrieve
  import tarfile</p>
  
  <pre><code>os.chdir('/tmp/')
  surl = "http://xxxx.com/artifactory/libs-release-local/com/xxxx/xxxx/tgz/xxxx.ear/{}/xxxx.ear-{}.tar.gz".format('app_version')
  slurl =  "http://xxxx.com/artifactory/libs-release-local/com/xxxx/xxxx/tgz/xxxx.ear/{}/xxxx.ear-{}.tar.gz".format('app_version')
  surlobj = urllib.urlretrieve(surl, 'xxxx.ear-{}.tar.gz').format('app_version')
  slurlobj = urllib.urlretrieve(slurl, 'xxxx.ear-{}.tar.gz').format('app_version')
  sEAR = 'xxxx.ear-{}.tar.gz'.format('app_version')
  slEAR = 'xxxx.ear-{}.tar.gz'.format('app_version')
  tar = tarfile.open(sEAR)
  tar.extractall()
  tar.close()
  tar1 = tarfile.open(slEAR)
  tar1.extractall()
  tar1.close()
  os.remove(sEAR)
  os.remove(slEAR)
  </code></pre>
  
  <p>I am aware that my code is incomplete. Please help me out in adding the missing lines of code.</p>