title: Writing to a new directory in Python without changing directory
body: <p>Currently, I have the following code...</p>
  
  <pre><code>file_name = content.split('=')[1].replace('"', '') #file, gotten previously
  fileName = "/" + self.feed + "/" + self.address + "/" + file_name #add folders 
  output = open(file_name, 'wb')
  output.write(url.read())
  output.close()
  </code></pre>
  
  <p>My goal is to have python write the file (under file_name) to a file in the "address" folder in the "feed" folder in the current directory (IE, where the python script is saved)</p>
  
  <p>I've looked into the os module, but I don't want to change my current directory and these directories do not already exist.</p>