title: Python blank txt file creation
body: <p>I am trying to create bulk text files based on list. A text file has number of lines/titles and aim is to create text files. Following is how my titles.txt looks like along with non-working code and expected output.</p>
  
  <pre><code>titles = open("C:\\Dropbox\\Python\\titles.txt",'r')  
  for lines in titles.readlines():  
         d_path = 'C:\\titles'     
     output = open((d_path.lines.strip())+'.txt','a')  
     output.close()  
  titles.close()
  </code></pre>
  
  <p><code>titles.txt<br>
     Title-A<br>
     Title-B<br>
     Title-C</code></p>
  
  <p><code>new blank files to be created under directory c:\\titles\\<br>
     Title-A.txt<br>
     Title-B.txt<br>
     Title-C.txt</code>  </p>